• Resolved nicholas384775

    (@nicholas384775)


    I configured and enabled fastcgi cache and got it working. However there are some issues. Sometimes pages get cached as if autotimize is not working, causing rending blocking css js and slower load speeds. It happens once in a while when a page is cached, I didn’t find any pattern yet.

    I’m wondering if it can be related to if autoptimize might not optimize if the client is ie6, or command line curl etc. So that if that client does the first load of the page it will get a non optimized version and that one gets cached.
    Can it be caused by something like this?

    Or what else can can cause nginx to sometimes cache pages that is not optimized, when autoptimize is already running and working when the nginx cache is enabled on (and purged) ?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Optimizing Matters

    (@optimizingmatters)

    AO does not optimize in a specific number of cases;
    * AMP pages
    * feeds
    * customizer previews
    * backend (/wp-admin/)
    * pages for logged in users if that option is off in the settings
    * cart/ checkout if that option is off in the settings

    so if one of those is cached at nginx level, then all users would see the page un-optimized.

    hope this clarifies,
    frank

    Thread Starter nicholas384775

    (@nicholas384775)

    Thanks a lot for your quick reply!

    I will investigate if it can be caused if I reloaded the page initially while being logged in and that version got cached !

    Thread Starter nicholas384775

    (@nicholas384775)

    I guess this is it. But if this is the case, it seems like it might happen accidentally in the future, if I visit any page after purging the cache.
    So maybe have to keep optimizing for also logged in users.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I would rather strongly suggest not to have nginx cache pages of logged in users instead Nicolas. You want to avoid people seeing pages that might contain visible or invisible pieces of information that is meant for admins (editors) only.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Autoptimize issues with fastcgi cache’ is closed to new replies.