I am running magento 2.1.5 and every thing was working fine. Suddenly my CSS and Js files are not loading I am getting error
http://mymagentourl.com/pub/static/version1491202457/frontend/Magento/luma/en_US/css/styles-m.css” was blocked due to MIME type mismatch (X-Content-Type-Options: nosniff).
what is the meaning of was blocked due to MIME type mismatch (X-Content-Type-Options: nosniff).
I am running magento in nginx Web Server and my mode is production. I tried
- remove Var/* folder
- re deploy static content
- remove cache
- flush
cache
I am not able to understand why my css and js is not loading?
Best Answer
Navigate to your database and perform following steps:-
php bin/magento cache:flush
php bin/magento setup:static-content:deploy