Wordpress LScache Plugin: LiteSpeed WP-plugin includes cPanel template CSS
Last Updated on: Wed, 15 Apr 2026 00:00:02 I have an issue I cant wrap my head around. I have set up LiteSpeed and it seems to be working flawlessly but sometimes when a page cache is generated something goes wrong and LiteSpeed includes CSS that doesnt exist in WordPress, their plugins or theme. I have tracked down the CSS code to a cPanel template file that can be found here: https://trycpanel.net/template_editor.html The CSS you see in the header, right after the is the exact same CSS that is included on my page in the top of the file. Normally there would be WP-inline-CSS like ?wp?preset?color?black but that is moved down in the header when this happens and is now found under further down in the header. My HTML always starts with this: But what follows is either the predefined colors for WP that is CORRECT or the styles you find in the source URL i mentioned above. Then it looks like this: body font-family:Arial,Helvetica,sans-serif font-size:14px line-height:1.428571429 background-color:#fff color:#2f3230 padding:0 margin:0 section,footer display:block padding:0 margin:0 .container margin-left:auto margin-right:auto padding:0 10px .response-info color:#ccc .status-code font-size:500% .status-reason font-size:250% display:block .contact-info,.reason-text color:#000 .additional-info background-repeat:no-repeat background-color:#293a4a color:#fff .additional-info-items padding:20px 0 min-height:193px .contact-info margin-bottom:20px font-size:16px .contact-info a text-decoration:underline color:#428bca .reason-text margin:20px 0 font-size:16px ul display:inline-block list-style:none outside none margin:0 padding:0 ul li float:left text-align:center .additional-info-items ul li width:100% .info-image padding:10px .info-heading font-weight:700 text-align:left word-break:break-all width:100% footer text-align:center margin:60px 0 footer a text-decoration:none footer a img border:0 .copyright font-size:10px color:#3f4143 @media (min-width:768px) .additional-info position:relative overflow:hidden background-image:none .additional-info-items padding:20px .container width:90% .additional-info-items ul li width:100% text-align:left .additional-info-items ul li:first-child padding:20px .reason-text font-size:18px .contact-info font-size:18px .info-image float:left .info-heading margin:62px 0 0 98px .status-reason display:inline @media (min-width:992px) .container width:70% .status-code font-size:900% .status-reason font-size:450% The funny thing is that this seems to be the only changes. Nothing else from the template files are included, only this CSS. I notice it because it changes the default style of a few elements. Does this always happen? No! If I clear the cache it loads perfect as it should. lets say its a 2-5% chance this happens. It might correlate to CSS-combine or Load CSS Asynchronously through QUIC.cloud. It seems like the issue was solved when I disabled CSS combine and cleared the cache (causing the QUIC.cloud to queue up again). The question is how you setuped LiteSpeed?! In normal case the page you refer appears with cPanel only if a server has no account/domain, so I would contact cPanel or support of your host. For me, this is not a cache plugin issue. The CSS from cPanel might be used in several of their template-files. It could be a server problem for sure and I have asked my host about it. But it could also be something else and I need to start debugging somewhere. Lets argue that LiteSpeed tries to generate critical CSS through QUIC.cloud and something goes wrong there and it tries to access a file/URL that does not exist. Maybe then that HTML is parsed/stripped from CSS from a cPanel-file and then returned to be included. Im just guessing here but the error could be anything from the plugin to something other server related issue. But if no one else has this stumpled upon this issue, its a hint in itself. Maybe then that HTML is parsed/stripped from CSS from a cPanel-file Those data are not accessible from document_root or user home directory. You must be root to have access on it. For me, something isnt configured on your server as it should be. this sounds like domain resolve issue did you set server IP in general ? when you enabled CCSS , the plugin will attempt to get the page sources by directly connect to the IP you set in General , so if it hits the cPanel default page (like server has multiple IPs , your domain is on IP 1 , but server IP is set to IP 2) I think it is a combination of more than 1 reason. If it is shared hosting server shows the default page if the IP is requested. This page is defined global for all accounts in cPanel. If /lscache directory is not defined in home directory it uses default /shm directory for cache location and this may the reason why sources outside from home directory are used within an account. For me, using IP instead of domain seems to be no good idea even it takes longer for name resolution if domain is used instead of IP. Thanks for the help! The web hosting company did some tests and found the following: QUIC.cloud choice of user agent when requesting the page to generate critical CSS caused a 403 response from the server due to Firewall settings. If I understood it correctly, LiteSpeed/QUIC.cloud copies the user agent from source (LiteSpeed plugin) and then reuses it when asking for the page. The firewall did not always recognize it as a legit request and returned a 403 including the cPanel default CSS.
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference