• Resolved emanuelx

    (@emanuelx)


    Hey, I activated the minified css but after activate that I received an error:

    Refused to apply style from ‘https://site-sample/cache/minify/b640b.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.

    There something extra that I need to apply to fix this?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @emanuelx

    Thank you for reaching out and I am happy to help!

    This seems to be a problem with the path of the file as I can see. Can you please sahre the location of the /cache/ folder?
    Also please share the webstie URL and also if the Minify is enabled on Auto or Manual, and which Minify method you are using for the CSS.

    Have you made any changes to the document root path?

    Thanks!

    Thread Starter emanuelx

    (@emanuelx)

    The cache folder is placed at wordpress/wp-content/cache

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @emanuelx

    Thank you for your feedback.
    You shared in your initial post that it’s trying to load from https://site-sample/cache/minify/b640b.css and not ‘https://site-sample/wp-content/cache/minify/b640b.css
    So to confirm, have you made any changes to the document root path or are you using something to hide wp-content?

    Thanks!

    Thread Starter emanuelx

    (@emanuelx)

    Hi @vmarko

    I didn’t made any change on document root and didn’t hide the wp-content folder.

    I’m using the turnkey wordpress LXC image on my proxmox.

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @emanuelx

    We need more information about this in order to see what is happenting as we cannot replicate the problem. In other words, once the CSS minify is active the files are minified and loaded form the cache folder without any issues.

    Can you please sahre your website URL and let me know if you are using any other optimization solution for static assets?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Issue with minified css’ is closed to new replies.