Hi Folks,

I've been troubleshooting a memcache issue on our Drupal 7 site, and in the process the front end CSS broke, meaning all content was unstyled.

The Chrome console has a message:

The resource from “/sites/all/themes/mbm/css/style.scss?qktcrf” was blocked due to MIME type (“application/octet-stream”) mismatch (X-Content-Type-Options: nosniff).

Should Drupal be using a .scss file on the front end?

If not, how would I determine where the breakdown of the .scss being converted to a .css file occurs?

Help appreciated.
Steve

Comments

gisle’s picture

Files of the type .scss is SASS source files and should not be interpreted by the browser. They should not even live in the theme's css/ directory.  I believe they're normally found in a directory named scss/ and are compiled/converted to .css by some Javascript tool (e.g. gulp.js). Some may also use compass (part of the Ruby framework) to process SASS.

- gisle