≡

wincent.dev

  • Products
  • Blog
  • Wiki
  • Issues
You are viewing an historical archive of past issues. Please report new issues to the appropriate project issue tracker on GitHub.
Home » Issues » Feature request #1307

Feature request #1307: Optimize using Google Page Speed

Kind feature request
Product wincent.dev
When Created 2009-06-05T05:34:23Z, updated 2014-11-06T15:17:16Z
Status closed
Reporter Greg Hurrell
Tags no tags

Description

These are the results of running Google Page Speed on https://wincent.dev/:

Overall performance summary:
[This site follows the Page Speed performance guidelines. Nice job!]
[Score: 39%]
	
	
Defer loading of JavaScript
80.7% of the JavaScript loaded by this page had not been invoked by the time the onload handler completed.

    * /javascripts/jquery-1.3.2.min.js?1240933621 278 functions uncalled of 339 total functions. (Toggle Function View)
    * /javascripts/application.js?1240933621 3 functions uncalled of 9 total functions. (Toggle Function View)
      Uncalled functions:

      function setCookie(name, value, expiry) {}
      function insertFlash(css, msg) {}
      function deleteCookie(name) {}

[Score: 79.5%]
	
	
Use efficient CSS selectors
/stylesheets/display.css?1240933621 has 3 very inefficient and 11 inefficient rules of 102 total rules.

    Very inefficient rules (good to fix on any page):

        * h1.major a:hover    Tag key with descendant selector and hover pseudo selector and Class overly qualified with tag
        * h2.major a:hover    Tag key with descendant selector and hover pseudo selector and Class overly qualified with tag
        * [/tags/navbar #navbar] li.last a    Tag key with 2 descendant selectors and Class overly qualified with tag

    Inefficient rules (good to fix on interactive pages):

        * [/tags/header #header] h1 a    Tag key with 2 descendant selectors
        * [/tags/navbar #navbar] a:hover    Tag key with descendant selector and hover pseudo selector
        * table.main input[type="text"]    Tag key with descendant selector and Class overly qualified with tag
        * table.main textarea    Tag key with descendant selector and Class overly qualified with tag
        * th.ascending a    Tag key with descendant selector and Class overly qualified with tag
        * th.descending a    Tag key with descendant selector and Class overly qualified with tag
        * .links a:hover    Tag key with descendant selector and hover pseudo selector
        * .product .icon img    Tag key with 2 descendant selectors
        * .comments tr.private>th    Tag key with descendant selector and Class overly qualified with tag
        * .comments .odd th+td    Tag key with 2 descendant selectors
        * .comments .even th+td    Tag key with 2 descendant selectors

[Score: 100%]
	
	
Leverage proxy caching

Non-scoring information
Consider adding a "Cache-Control: public" header to the following resources:

    * https://wincent.dev/images/blockquote.png
    * https://wincent.dev/images/comment-bubble.png
    * https://wincent.dev/images/external.png
    * /images/feed-icon-14x14.png?1240933621
    * https://wincent.dev/images/first-disabled.png
    * https://wincent.dev/images/last.png
    * https://wincent.dev/images/logo.png?1240933621
    * https://wincent.dev/images/mailto.png
    * https://wincent.dev/images/navbar.png
    * https://wincent.dev/images/next.png
    * https://wincent.dev/images/previous-disabled.png

[Score: 91.2%]
	
	
Minify JavaScript
There is 60.4kB worth of JavaScript. Minifying could save 2.7kB (4.4% reduction).

    * Minifying /javascripts/application.js?1240933621 could save 2.2kB (49.7% reduction). See minified version.
    * Minifying /javascripts/jquery-1.3.2.min.js?1240933621 could save 449 bytes (0.8% reduction). See minified version.

[Score: 91%]
	
	
Optimize images
There are 6.9kB worth of images. Optimizing them could save ~436 bytes (6.2% reduction).

    * Compressing https://wincent.dev/images/logo.png?1240933621 could save 223 bytes (22.2% reduction). See compressed version.
    * Compressing https://wincent.dev/images/blockquote.png could save 166 bytes (27.4% reduction). See compressed version.
    * Compressing https://wincent.dev/images/mailto.png could save 47 bytes (13.2% reduction). See compressed version.

[Score: 85%]
	
	
Specify image dimensions
A width and height should be specified for all images in order to speed up page display. Specifying image dimensions prevents the browser from having to re-position the contents of the page.

The following image(s) are missing a width and/or height:

    * https://wincent.dev/images/logo.png?1240933621
    * /images/feed-icon-14x14.png?1240933621 (2 uses)

[Score: 93.4%]
	
	
Remove unused CSS
18.8% of CSS (estimated 1.5kB of 8.1kB) is not used by the current page.

/stylesheets/display.css?1240933621: 1.5kB of 8.1kB is not used by the current page.

    * h1.major line 5
    * table pre line 15
    * a.external:after line 27
    * a.mailto:after line 29
    * [/tags/breadcrumbs #breadcrumbs] line 49
    * div.two-columns line 63
    * [/tags/error #error], [/tags/notice #notice] line 65
    * [/tags/error #error] line 67
    * [/tags/notice #notice] line 69
    * .error, .notice line 71
    * .error line 73
    * .notice line 75
    * .spinner line 77
    * .ajax_error line 79
    * .pagination .next.disabled line 88
    * .pagination .last.disabled line 90
    * table.main line 92
    * table.main input[type="text"] line 93
    * table.main textarea line 94
    * td, th line 96
    * th line 98
    * th.ascending a line 100
    * th.descending a line 102
    * tr.odd line 104
    * tr.even line 106
    * .annotation line 108
    * .fieldWithErrors input line 110
    * .cloud line 112
    * .cloud a line 113
    * .filterbox line 115
    * .filterbox h3 line 116
    * .filterbox p line 117
    * .deleted line 121
    * .deleted a line 122
    * .highlight line 124
    * .edit_link line 132
    * .new_link line 134
    * .back_link line 136
    * .show_link line 138
    * .update_link line 140
    * .links line 142
    * .links a line 143
    * input[type="submit"] line 146
    * input[type="button"] line 149
    * .product line 152
    * .product .icon img line 153
    * .prev_next line 155
    * .comments th line 157
    * .comments th + td line 158
    * .comments tr.private > th line 159
    * .comments .odd th + td line 161
    * .comments .even th + td line 163
    * #preview_link img line 165
    * #preview_link #preview_spinner line 166

[Score: 89.9%]
	
	
Serve static content from a cookieless domain
Serve the following static resources from a domain that doesn't set cookies:

    * /stylesheets/display.css?1240933621
    * /stylesheets/posts.css?1240933621
    * https://wincent.dev/images/logo.png?1240933621
    * /images/feed-icon-14x14.png?1240933621
    * https://wincent.dev/images/navbar.png
    * https://wincent.dev/images/first-disabled.png
    * https://wincent.dev/images/previous-disabled.png
    * https://wincent.dev/images/next.png
    * https://wincent.dev/images/last.png
    * https://wincent.dev/images/external.png
    * https://wincent.dev/images/comment-bubble.png
    * https://wincent.dev/images/mailto.png
    * https://wincent.dev/images/blockquote.png

754 bytes of cookies were sent with the requests for these resources.
[Score: 100%]
	
	
Minimize cookie size
The average cookie size for all requests on this page is 58 bytes.

[Score: 100%]
	
	
Enable gzip compression
[Score: 100%]
	
	
Leverage browser caching
[Score: 100%]
	
	
Combine external JavaScript
[Score: 100%]
	
	
Minimize DNS lookups
[Score: 100%]
	
	
Optimize the order of styles and scripts
[Score: 100%]
	
	
Serve resources from a consistent URL
[Score: 100%]
	
	
Avoid CSS expressions
[Score: 100%]
	
	
Parallelize downloads across hostnames
[Score: 100%]
	
	
Combine external CSS
[Score: 100%]
	
	
Minimize redirects
[Score: 100%]
	
	
Put CSS in the document head

Comments

  1. Greg Hurrell 2014-11-06T15:17:12Z

    I've done pretty much all of this a long while ago.

  2. Greg Hurrell 2014-11-06T15:17:16Z

    Status changed:

    • From: new
    • To: closed
Add a comment

Comments are now closed for this issue.

  • contact
  • legal

Menu

  • Blog
  • Wiki
  • Issues
  • Snippets