• Resolved silvo37

    (@silvo37)


    Dear support team,
    On client’s website I have a problem with uncached minified files. I have activated caching and minification with several options checked and unchecked but whatever I do, those files wont be cached. I tried to clear cache, turn off and on caching, turn off and on minify, turn off only javascript minify, turn on minify and turn on merging of js and css files.
    And now Im out of ideas.
    You can see the files here:
    https://pagespeed.web.dev/analysis/https-www-seasonsnow-eu/e408iwdbgy?form_factor=mobile

    Can you pls help?
    Thank you

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support vupdraft

    (@vupdraft)

    Hi,

    Your site does appear to be cached, if you view the source code from your site you should see this

    <!-- Cached by WP-Optimize - https://getwpo.com - Last modified: Wed, 07 Jun 2023 17:47:45 GMT -->
    
    What is your cache lifespan set to at the moment?
    It looks like you could do with deferring Java Script under Minify >> Java Script >> Defer all the JavaScript files 
    
    You do also have a big issue with your fonts - you will need to make sure your fonts are visible during the initial website load (unfortunately though, there is not a feature in WPO that will do this for you)
    
    It also looks like you could benefit from inlining some of your CSS.  To do this goto Minify >> CSS and checking the box next to " Inline CSS - Recommended if the CSS files are small enough"
    
    Further down the line I would also recommend you lazy load any images below the fold (this is a Premium feature in WPO)
    
    
    
    
    Thread Starter silvo37

    (@silvo37)

    thanks for the reply.

    I’m deferring all the JS.

    Can you tell me why page speed insight claims those minified files are not cached?

    Gtmetrix is telling me the same.

    thanks.

    Plugin Support vupdraft

    (@vupdraft)

    Hi,

    It’s not saying your site is saying that having a good cache policy with help your page speed. In this situation it’s recommending that you have your cache lifespan set a bit longer to create an “efficient cache policy”

    If you goto Minify >>advanced >> what is your cache lifespan set t?

    I can see in your source code that your site is cached.

    Thread Starter silvo37

    (@silvo37)

    Minify Cache lifespan is set to 30 days.
    It is strange because I have your plugin on different website but same hosting provider and same WP optimize settings, but there is no issue like this.

    Plugin Support vupdraft

    (@vupdraft)

    30 days is the default.

    This serve static assets with an efficient cache policy message is being shown simply because your sites speed performance is not optimal. Having checked, there is a cached version of your site in Google and you a message from the plugin on your pages saying that your pages are in fact cached.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Serve static assets with an efficient cache policy’ is closed to new replies.