• Resolved willcunha

    (@willcunha)


    Hi everybody!

    I’m hahving an issue weird on my website. Not currently and not frequently, but, every two or three weekends, my website appears broken. When I inspect, the file .css which is refered to as stylesheet, it doesn’t exists in the server.

    I’m using CDN with Cloudflare and Elementor as page builder.

    There is no way to reproduce the error, it happens suddenly.

    I created an report and its number is: ITMSMRJW

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    if you are using CloudFlare page cache then you will need to disable CSS minify , CSS combine, JS minify and JS combine

    Best regards,

    Thread Starter willcunha

    (@willcunha)

    Hello!

    But why does those things are happening? I mean, why does the file .css got excluded or it did even never had been created? And why must those two options be disable?

    Thanks!

    Plugin Support qtwrk

    (@qtwrk)

    when you enable aforementioned options , the JS/CSS file will be minifed/combined and gets name like /wp-content/litespeed/css/xxxxxxxxxx.css , when cache is purged or css is updated, next time it could have different name , for example /wp-content/litespeed/css/yyyyyyyyyyy.css

    this is okay if you are using LSCache , because both page cache and CSS are purged and updated at same time

    however if you have 3rd party caching , when the CSS name is changed , that CF page cache will not be purged by LSCWP

    so your CF page is still linked to xxxxx.css while the actual latest file is now updated to yyyyy.css , and since LSCWP won’t be able to purge CF page cache, and that leads to 404

    Thread Starter willcunha

    (@willcunha)

    Hi!
    After disabling the options mentioned, the error continues happening. The file .css which is mentioned on html it does not exists on my server.

    Plugin Support qtwrk

    (@qtwrk)

    please do me a screenshot on the network tab and also error message when you have this error

    Thread Starter willcunha

    (@willcunha)

    There is no message error. Even with the configuration set to not minify and combine CSS, the plugin continues to do that, even when I clean the cache from Cloudflare and the css cache.

    The screenshot of the source code of my website
    https://www.loom.com/i/b0a7185a9b27418ea5ddfa4229a10055

    The screenshot of my configuration:
    https://www.loom.com/i/b01bdeac85384f35abc732ea5bf7ca3f

    Plugin Support usabe

    (@usabe)

    Hi @willcunha

    Due to inactivity of this topic and many updates on lscwp in the past 4 months, I will mark this topic as “resolved”. If you still have such issues, please feel free to open a new ticket and reference this one. We will check into this further if needed.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘File .css does not exists on server.’ is closed to new replies.