Title: Broken site
Last modified: May 1, 2020

---

# Broken site

 *  Resolved [zaidkhalid](https://wordpress.org/support/users/zaidkhalid/)
 * (@zaidkhalid)
 * [6 years ago](https://wordpress.org/support/topic/broken-site-31/)
 * The HTML version of the site appears first whenever i load my site, after a second
   all site load perfectly.The css seems to load late. the page content loads without
   formatting for a second, and then re-loads with the correct formatting.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fbroken-site-31%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Support [LiteSpeed Lisa](https://wordpress.org/support/users/lclarke/)
 * (@lclarke)
 * [6 years ago](https://wordpress.org/support/topic/broken-site-31/#post-12764300)
 * That’s known as “Flash of Unstyled Content” or FOUC.
 * It happens when you load CSS asynchronously.
 * Take a look at [this doc](https://docs.litespeedtech.com/lscache/lscwp/ts-optimize/#still-seeing-fouc-with-critical-css-enabled)
   to see why it might be happening on your site, and how to fix the issue.
 *  Thread Starter [zaidkhalid](https://wordpress.org/support/users/zaidkhalid/)
 * (@zaidkhalid)
 * [6 years ago](https://wordpress.org/support/topic/broken-site-31/#post-12765570)
 * I off the **Generate Critical CSS in the Background **. Should i on it after 
   some time? after turning of the problem is still there. Is it take some time 
   to generate CCSS?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [6 years ago](https://wordpress.org/support/topic/broken-site-31/#post-12771077)
 * Hi,
 * Please check this [wiki](https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:troubleshooting:ccss_unstyle),
   it may give you some idea
 * Best regards,
 *  Thread Starter [zaidkhalid](https://wordpress.org/support/users/zaidkhalid/)
 * (@zaidkhalid)
 * [6 years ago](https://wordpress.org/support/topic/broken-site-31/#post-12773619)
 * i am asking can i on **Generate Critical CSS in the Background ** after the problem
   had solved? And should we keep it off for permanently?
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [6 years ago](https://wordpress.org/support/topic/broken-site-31/#post-12778696)
 * Hi,
 * Let me explain how CCSS works , so you can have a better idea.
 * When you have load async CSS, that means HTML code is loaded BEFORE css, therefore,
   rendered without style , CCSS is to address this issue by insert the “critical”
   part of style (usually the view port part ) into HTML , so it can renders with
   style for the view port , while loading CSS Asynchronously
 * So when you set it to foreground , the page will wait until CCSS rule is generated
   and inserted into HTML code , therefore you won’t see the unstyled page.
 * if you set it background , it will still be unstyled if you purged CCSS rule.
   as the generation is not at same time as page generation.
 * All in all , I’d personally suggest to set it to foreground , it may delay few
   seconds if CCSS is not generated , but it will be smooth afterwards.
 * Best regards,

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

The topic ‘Broken site’ 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/)

 * 5 replies
 * 3 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/broken-site-31/#post-12778696)
 * Status: resolved