Imran Khan
Forum Replies Created
-
Update:
Actually found the issue that was causing this. I had multiple cache-control header sent. Removing the other one solved the issue. Thanks
Forum: Plugins
In reply to: [LiteSpeed Cache] Inline UCSS breaks the layout reandomlyHi,
When you use CSS as inline, there’s no CSS file loaded and hence there’s no possiblitiy of 404 error. But since the issue gets resolved once the page is refreshed, it’s possible that it’s still not being able to get the CSS inline properly ?
We’re live with the site so we can’t really test this. We’ve disabled the Inline UCSS option after it broke every page on the site. We’re now using it with CCSS option and the site seems stable.
I’ve one more question: Is it possible to make sure that the homepage cache isn’t purged unless manually do so ?
Forum: Plugins
In reply to: [LiteSpeed Cache] Inline UCSS breaks the layout reandomlyHi support,
Thanks for the explanation. I guess it’s the crawler that we’ll have to rely on to always get cached version. Is that correct ?
** when you use inline , does it show identical code as it is in file ?
–> As I mentioned in my previous post, it contains the same UCSS but only when we refresh the page manually. The first time it loads, and it loads very quickly, it doesn’t get the correct CSS and hence all the elements are broken.I browsed through the support threads and this is reported by others as well. I see you guys have advised them just to turn off the combine CSS feature.
Thanks.
Forum: Plugins
In reply to: [LiteSpeed Cache] Inline UCSS breaks the layout reandomlyHI,
** Does the inline’d CSS have same content as individual CSS file ?
–> You mean, as in the UCSS file ? It does but only after the page is refreshed again. The layout breaks completely. It’s the same as this support ticket https://wordpress.org/support/topic/page-breaks-sporadically/** I’ve checked the debug log. You can check it here https://pastebin.com/WMh3WAfP
It shows a purge public action for each UCSS/CCSS generation. Does that look correct to you ? Cause we’re getting x-litespeed-cache miss on all pages ( first visit ) after one UCSS/CCSS generated.
Thanks.