• Resolved anafp

    (@anabellafp)


    I have WP super cache activated on my website.

    Settings: I kept the default settings (cache delivery: simple), and just activated 2 extra things:
    – Compress pages so they’re served more quickly to visitors.
    – Clear all cache files when a post or page is published or updated

    When I scan the URL using Gtmetrix and Google Page Speed, both are still telling me to “Serve static assets with an efficient cache policy” and “enable text compression”.

    In Settings > WP Super Cache > I used the cache tester and the result was OK for everything.

    Please note that I activated the cache 2 days ago. I tested the website on Gmetrix and Google Page Speed both 2 days ago and today, and the issue is the same.

    Thanks

Viewing 12 replies - 1 through 12 (of 12 total)
  • WP Super Cache doesn’t do anything for static files, but I’m surprised that it didn’t detect that the page was compressed. Have you tested it in a gzip compression tester?

    You could try Jetpack Boost to help with CSS and JS files. It compresses, minifies and combines them to speed up downloading them.

    Thread Starter anafp

    (@anabellafp)

    @donncha Thanks! I scanned the website through 2 different gzip compression testers, and both say that GZIP is not enabled.

    How is that possible considering that the option “Compress pages so they’re served more quickly to visitors” is enabled?

    Make sure that gzipped cache files are being made. Enable the debug log and you should see something there about compression. Check the wp-content/cache/supercache/ directory and look for .html.gz files.

    Can you share the URL of your site?

    Thread Starter anafp

    (@anabellafp)

    I enabled the debug logging.

    The only line that says anything about compression is “Fetched gzip static page data from supercache file using PHP”

    • This reply was modified 1 year, 6 months ago by anafp.
    • This reply was modified 1 year, 6 months ago by anafp.

    It looks like gzip is enabled. Firefox web developer network says 33.66KB was transferred but the size of the page was 198.12KB.

    I’m not certain why those tools thought it wasn’t enabled.

    Thread Starter anafp

    (@anabellafp)

    Thanks. This is very confusing. I’ve seen many WP Super Cache users reporting the same issue. Gtmetrix and Google Page Speed are reporting that the lack of Gzip compression is the main issue for this website and therefore the score is terrible, it’s hard to simply ignore those.

    Can you share the URL of your site?

    Enable the debug log in the plugin and run the test again. Does the debug log show the compressed page being served?

    I tested my own sites on https://gtmetrix.com/ and https://pagespeed.web.dev/ and when compression was enabled, both tests were successful.

    It was only when I disabled compression that the tests indicated I should compress text.

    Thread Starter anafp

    (@anabellafp)

    I enabled the debug, but not sure what I am looking for. The debug doesn’t say anything about compression

    • This reply was modified 1 year, 6 months ago by anafp.

    When the cache page is generated, you should see the following entries. This is for a logged in user. Anonymous users see something similar, but looking for “gzip” in the log files will find something.

    Gzipping buffer.
    Writing gzipped buffer to wp-cache cache file.
    Writing gzip content headers. Sending buffer to browser 
    

    And when serving a gzipped cache file:

    GZIP headers found. Serving compressed output.
    Sending Header: Content-Encoding: gzip 

    You mentioned earlier that it “fetched gzip data…” so it is working.

    Also, as I said earlier, check the wp-content/cache/supercache/ directory and look for .html.gz files.

    Plugin Support Stef (a11n)

    (@erania-pinnera)

    Hi @anabellafp,

    It’s been one week since this topic was last updated. I’m going to mark this thread as solved. If you have any further questions or need more help, you’re welcome to open another thread here. Cheers!

    I am also facing the page speed issue specially in LCP and FCP in page speed insights in my digital marketing site. Web page speed is 92% but mobile version is 60% after all efforts. Using Elementor theme. Can some here help me out here? Image is also attached.

    Plugin Support Tamirat B. (a11n)

    (@tamirat22)

    Hello @janearon101,

    Please start a separate thread, as per the Forum Welcome guidelines

    You can create a new thread here: https://www.ads-software.com/support/plugin/jetpack#new-post

    Thank you!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Gtmetrix and Google Page Speed still advising to use cache and text compression’ is closed to new replies.