• Resolved DaveyJake

    (@daveyjake)


    Recently, we’ve encountered an error on our site which our host has configured using LiteSpeed server. Because of these errors we had to reactive WP Fastest Cache for most of the front-end caching features as well as disabling LiteSpeed. The main errors that we couldn’t figure out were multiple instances of the following error message:

    Resource interpreted as Stylesheet but transferred with MIME type text/html: https://www.companydomain.com/'

    We all encountered this error whenever LSCWP was enabled:
    Uncaught SyntaxError: Unexpected token <

    The options we’re using with WP Fastest Cache are as follows that have resulted in no error are as follows:

    – Clear cache files with post/page is published/updated.
    – Minify HTML
    – Minify CSS
    – Combine CSS
    – Minify JS
    – Combine JS
    – GZip
    – Browser Caching
    – Disable Emojis
    – Remove Render Blocking JS
    – Load Google Asynchronously
    – Lazy Load Images and Iframe when in browser viewport.

    • This topic was modified 7 years, 4 months ago by DaveyJake.
Viewing 1 replies (of 1 total)
  • Plugin Support LiteSpeed Lisa

    (@lclarke)

    Hi, Daveyjake.

    Sorry to hear you are having an issue! I’m not sure why WP Fastest Cache isn’t giving you these messages, but it sounds like one of your stylesheets is problematic.

    I found this explanation of the error on StackOverflow. Maybe that can point you in the right direction?

    If that doesn’t help, you can probably exclude the problematic stylesheet from being optimized. If you turn off Minify CSS and/or Combine CSS does the problem go away?

    If so, then you can follow this troubleshooting guide to determine which CSS file it is and exclude that file from optimization.

Viewing 1 replies (of 1 total)

The topic ‘Not getting warning message with WP Fastest Cache’ is closed to new replies.