• Resolved yabdali

    (@yabdali)


    Hi,

    I just need a clarification, when adding a CDN configuration in the CDN for Autoptimized files, I noticed in the past that whenever there is expired cache inconsistencies between page caching plugins (WP Super Cache), Cloudflare and Autoptimize I would get 404 errors. I currently have this disabled, using WP Super Cache to handle CDN related configs. However, I want to use the CDN as well for Autoptimize files but need to find a way to resolve the issue mentioned above. When using the CDN, which is also on the same server as the main website, the 404 is handled by Nginx CDN configs and not processed by the PHP location block for the main server. I presume that due to this, the hook for plugin isn’t detecting the issue.
    Can you please advise on the best options? Thanks in advance…

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

    (@optimizingmatters)

    Maybe try to configure Nginx to redirect to wp-content/cache/autoptimize/autoptimize_fallback.js for non-existent aggregated JS or wp-content/cache/autoptimize/autoptimize_fallback.css for missing aggregated CSS?

    hope this helps,
    frank

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.