Support » Plugin: Autoptimize » Autoptimize + FastCGI cache clear

  • Hey,

    I’ve been using Wp-rocket + autoptimize + FastCGI cache in Nginx.
    I get JS errors when i clear A/O cache, and FastCGI cache is left as is. Then the cached version is lookin for the A/O cached files but doesn’t find them.

    Is there a way to clear cache from fastCGI when A/O is being cleared?

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

    (@optimizingmatters)

    Not in AO no. Do you use a plugin to hook FastCGI cache clearing into WordPress? If that plugin exposes a method/ action to clear the cache, then AO could do so (or that plugin could hook into AO’s ..

    I was trying for some hours to work with Nginx Helper, Which claims to do so. But unFortunately it won’t work, so i dont see any plugin that supports that (+ wp-rocket compt).

    When i use AO + WP cache + fastcgi cache, the 3 do work properly. The problem occurs when i change Wp cache with WP-rocket.

    Do you have any idea why does it happen OR any workaround? I find out that wp-rocket + AO are the best comibnation for speed and google rank.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    no idea why it doesn’t work I’m afraid tomeryatir, no .. :-/ AO does have code to integrate with Nginx Helper indeed, but the fact you also have WP Rocket undoubtedly makes this a tad more … complex.

    I’ve sent them support ticket, hopefully it would shed some light on this issue.
    I’ll update if there’s some progress.

    If you would like to look it up for updates and upgrades, i’d be happy to share credentials for dev purposes.

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    OK, feel free to keep me posted indeed 🙂

    Hey,
    It seems that the issue im facing is the same as here:

    https://wordpress.org/support/topic/autoptimize-js-autoptimize_xxxxxxxx-js-404-error/

    The only change, i’m using Nginx, how can i solve this? thanks!

    Plugin Author Optimizing Matters

    (@optimizingmatters)

    I don’t know nginx well enough to give correct directives on how to send 410 instead of 404, sorry. maybe Google can help? 😉

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Autoptimize + FastCGI cache clear’ is closed to new replies.