• Resolved Fzn.shaikh

    (@fznshaikh)


    1. It would be great if you could add the feature of clearing autoptimize cache automatically after Cloudflare cache is cleared.
    2. And maybe, also make it compatible with Swift performance plugin. I know I am asking for too much.
    3. Also, an example of a proper nginx configuration code for the main file and the site configuration file would be great.
    4. Thanks!

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Hello @fznshaikh ,
    the hook for Autoptimize is already part of the core.

    About Nginx, try first without setting any rules. If something not work (check the response headers), enable the option Overwrite the cache-control header for WordPress’s pages using web server rules, click on update settings and see the generated nginx rules ??

    Drop me an email if you need further support ??

    Hi there,

    About Autoptimize, does this other way around actually work? For some reason I don’t know yet, my Autoptimize is purged every day or almost and I’m having 404 on AO because the HTML page from Cloudfare can’t reach the correct .js file since it has been regenerated after the purged. Is there a setting to purged the CF cache if the AO cache is purged then ?

    Thanks,
    Sylvain

    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    Hi @lesdeuxpiedsdehors ,
    the plugin hooks into AO’s autoptimize_action_cachepurged action to clear Cloudflare’s cache if AO’s get purged.

    Hi @salvatorefresta ! Thanks for your answer about this. I will test your plugin and I will get back to you if I have any question ??

    But this hook, will solve anyway lot of problems and in theory, I won’t be able to have 404 anymore.

    Plugin Contributor Salvatore Fresta

    (@salvatorefresta)

    The only way to know is try ??

    Yes, that’s what I’m gonna do. ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Please make it compatible with Autoptimize’ is closed to new replies.