Title: Empty CSS file on random pages
Last modified: June 30, 2022

---

# Empty CSS file on random pages

 *  Resolved [robb3rt](https://wordpress.org/support/users/robb3rt/)
 * (@robb3rt)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/empty-css-file-on-random-pages/)
 * Hi,
 * We have an issue with the Litespeed WordPress plug-in. On random moments on random
   pages the layout is missing, when checking we notice that every time one random
   CSS file is empty.
 * When we check the web acces log’s, on the same moment the WordPress website \
   crawler visited that same page.
 * When we clear the cache the URL is working again. This is a weird \ annoying 
   issue.
 * Could you assist is with solving this issue?

Viewing 1 replies (of 1 total)

 *  [usabe](https://wordpress.org/support/users/usabe/)
 * (@usabe)
 * [3 years, 10 months ago](https://wordpress.org/support/topic/empty-css-file-on-random-pages/#post-15805822)
 * Hi [@robb3rt](https://wordpress.org/support/users/robb3rt/)
 * From what you described, it seems to be the situation that the crawler was trying
   to access the page to fetch html page source for ucss generation. But for some
   reason (like your server configuration) it didn’t get the real page but an error
   page (e.g., 404 error page) and then send it for ucss generation. This generates
   an empty result for ucss and causes the missing style problem.
 * So please try to curl the page from the server locally (localhost) to see what’s
   the result and what’s the problem.
 * Best regards,
    Abe

Viewing 1 replies (of 1 total)

The topic ‘Empty CSS file on random pages’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [usabe](https://wordpress.org/support/users/usabe/)
 * Last activity: [3 years, 10 months ago](https://wordpress.org/support/topic/empty-css-file-on-random-pages/#post-15805822)
 * Status: resolved