• Resolved darrylyeo

    (@darrylyeo)


    The first time I visit a page after clearing Autoptimize’s cache, the page loads very slowly – defeating the purpose of this plugin. I highly suspect that Autoptimize is generating the optimized files in that time because any subsequent page loads from any browser/device load much quicker.

    So at the moment, anytime I need to clear the cache, I also navigate to all the pages on my website to ensure each one has been optimized and cached, which is an incredibly slow and tedious process.

    Is there a way to 1) build the cache for all pages, automatically or through a trigger, or 2) have Autoptimize just serve an unoptimized page on the first visit and trigger the file generation shortly afterward?

    https://www.ads-software.com/plugins/autoptimize/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Frank Goossens

    (@futtta)

    your assumption is correct darrylyeo, having AO create & cache new autoptimized JS & CSS does add to your page load (depending on the amount of JS & CSS and depending if there are .min.js/css files in there between 0.2s and more then 1s).

    as far as your solutions are concerned; (2) is not possible, but for (1) you can use the warm cache plugin.

    hope this helps,
    frank

    Thread Starter darrylyeo

    (@darrylyeo)

    Thanks! I’ll give Warm Cache a go.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Automatically build cache without affecting page load?’ is closed to new replies.