SGO Generated JS Files Breaking Website Pages (Every 3-5 Days)
-
Good Day!
We continue to experience an issue similar to the one reported here and here.
Every 3-5 days (without changing anything in our website – as far as we know), some of our pages return a 404 for images contained in those pages. The console error we typically get says the following:
The resource from “https://www.mywebsite.com/wp-content/uploads/siteground-optimizer-assets/siteground-optimizer-combined-js-588097ad8ce4159abd9128604a5e8e6e.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff)
Our current set-up:
Theme: Avada (CSS Compiling Method: File)
Cache Plugin: SG Optimizer (Combine JS Files, Defer Render-blocking JS, Combine CSS Files, Preload Combined CSS, Remove Query Strings from Static Resources, Full Page Caching)
CDN: Cloudflare (HTML, JS, and CSS Minified)Note: We are not using WP Rocket.
In order to fix our issue, we have to clear cache in the following order:
(1) Avada: Reset Avada Caches
(2) SG Optimizer: Clear both Dynamic and Memcached via Site Tools
(3) Cloudflare: Purge Everything then wait 5-10 minutes
(4) Browser: Clear cache (browser setting) then hit CTRL + F5 (twice)We believe SG Optimizer is not “communicating” properly with Avada and/or Cloudflare (Full Page Caching) or vice-versa.
Would appreciate if you can look at this carefully and provide a permanent solution.
As you know, many other clients in this forum have reported similar issues.
Thank you!
- The topic ‘SGO Generated JS Files Breaking Website Pages (Every 3-5 Days)’ is closed to new replies.