Refused to apply style because its MIME type (‘text/html’) is not supported
-
Refused to apply style from 'https://www.example.com/wp-content/uploads/siteground-optimizer-assets/siteground-optimizer-combined-css-6429f02d4427186f5523518d5f0664b0.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
I am reporting this issue, several pages would not load the combined SG Optimizer CSS because of the error above.
My environment:
- Cloudflare: Auto Minify HTML (Not minifying CSS or JS).
- SG Optimizer: Dynamic Caching, Memcached, NOT Minifying HTML, Minify JS, Minify CSS, Combine CSS.
What solved it: I tried clearing all of the SiteGround Caches. This didn’t solve it. I then Purged the Cloudflare cache. That solved my issue.
I am hoping that this does not reoccur. I can’t really tell if SG Optimizer or Cloudflare is the source of this issue.
- The topic ‘Refused to apply style because its MIME type (‘text/html’) is not supported’ is closed to new replies.