MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
PageSpeed Minification Pecentages Miscalculated
Current time: 01-20-2021, 08:43 AM Hello There, Guest! (LoginRegister)

Post Reply 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PageSpeed Minification Pecentages Miscalculated
05-10-2014, 01:48 AM
Post: #1
PageSpeed Minification Pecentages Miscalculated
It looks like PageSpeed is miscalculated the percent reduction for the JS Minify task.

I set up a small web page that loaded jquery 1.10.2 (non-minified) as a test.

Here's the result from WPT:
Minifying could save 38.8KiB (15% reduction) after compression.

Here's the result using the current version of the PageSpeed Chrome extension:
Minifying could save 38.8KiB (50% reduction) after compression.

As a control I hit both the non minified and minified versions hosted on google (gzip compressed) and looked at the sizes via Fiddler: (Gzip, not-minified): 79.2KiB (Gzip, minified): 32 KiB
Reduction: 47 KiB (60%)

So the Chrome extension version seems much more accurate, I'm guessing the remaining difference is due to various differences in the gzip and/or minfication algorithms used.

Is this just a matter of updating the PageSpeed version in WPT or am I missing something?

Find all posts by this user
Quote this message in a reply
Post Reply 

Messages In This Thread
PageSpeed Minification Pecentages Miscalculated - jaythos - 05-10-2014 01:48 AM

Forum Jump:

User(s) browsing this thread: 1 Guest(s)