Current time: 12-15-2017, 10:07 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to find %gzip, %compress img, %cache static
03-18-2016, 02:56 AM
Post: #1
how to find %gzip, %compress img, %cache static
Hi,

I was looking into the "Performance Review" Results tab. It has a table where it shows the % of Gzip, Compress Img, Cache static. How are we calculating the percentage. If i do a simple calculation of finding percentage, it doesn't give me the number which shows there. For e.g. %gzip = no.of gzipped components/no. of components applicable.

Please help me to figure how the percentage is calculated.

Regards,
Akshay
Find all posts by this user
Quote this message in a reply
03-21-2016, 06:53 PM
Post: #2
RE: how to find %gzip, %compress img, %cache static
Hi Pmeenan,

Please help me here. Smile

Regards,
Akshay
Find all posts by this user
Quote this message in a reply
03-22-2016, 06:19 AM (This post was last modified: 03-22-2016 06:20 AM by speed-optimization.)
Post: #3
RE: how to find %gzip, %compress img, %cache static
(03-18-2016 02:56 AM)akshayvas Wrote:  Hi,

I was looking into the "Performance Review" Results tab. It has a table where it shows the % of Gzip, Compress Img, Cache static. How are we calculating the percentage. If i do a simple calculation of finding percentage, it doesn't give me the number which shows there. For e.g. %gzip = no.of gzipped components/no. of components applicable.

Please help me to figure how the percentage is calculated.

Regards,
Akshay

Dear Akshay,

It is not that difficult to figure it out for the "gzip compression" & "optimize images" recommendations.

Please check the following examples and you will see the pattern:

1. Use gzip compression for transferring compressable responses: 42/100
762.1 KB total in compressible text, target size = 325.1 KB - potential savings = 437.0 KB

325/762 = 42%

2. Compress Images: 56/100
821.3 KB total in images, target size = 465.0 KB - potential savings = 356.3 KB

465/821 = 56%

Regarding the percentage of "browser caching" recommendation, it is most likely the following:
number of images/css/Javascript files without correct expiry headers / number of total images/css/Javascript files

I hope it makes sense.

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


Forum Jump:


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