CDN for Autoptimized files: autoptimize_404_handler.php
-
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…
- You must be logged in to reply to this topic.