In my mind that hasn't something to with unsupported expressions. If an URL is cached you cannot define a new header on an already cached URL. Cache is cache and PHP cannot be executed. If you want to make it dynamically to set a new header depending on whatever you must use vary cache control...
This should help you to find the right syntax to define response header for cache control:
https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:developer_guide:response_headers
I'm not up2date with CyberPanel, but you should check if fail2ban is availabe for CyberPanel. There are some discussions about it in CyberPanel forum. To prevent brute force attacks against SSH LiteSpeed isn't responsible.
This is for everyone who thinks about how to get faster pagespeed. In upcoming Chrome versions Google will place a hint in Chrome browser if a requested page is slow or fast based on Chrome User Experience Report. Webmasters should already know that if they check their Google Search Console...
@Andrey
Download attached test.txt, rename it from test.txt to test.php. Upload test.php to you domain_root, request it in browser and post what will be displayed.
Either Journal 3 logic or LiteSpeed logic (code) must be changed, but disable Pagespeed, disable inline styles, disable mobile view and try mobile friendly test again. I can't believe that Journal 3 has a device detection. Journal 3 uses media queries for different screen sizes/resolutions, but...
Possible reasons:
- Journal 3 and LiteSpeed cache plugin may have differently working logic to detect devices
- You have Pagespeed active. Pagespeed has no function to detect devices
- You have still inline styles enabled
- You missunderstand what a algorithm for device detection is.
- wrong...
You only have to uncomment it if your app has PHP function to detect kind of device. As I know Opencart has no such device detection. Mobile View in OpenCart will be handled by media queries and not by device detection.
Btw. disable Pagespeed. Pagespeed doesn't work correctly and forces too...
What you need is not PHP related. Again, you need to change "Connection Timeout " in LiteSpeed WebAdmin Console and nowhere else! Ask you provider what to do. Or try this:
https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:php:run-without-timeouts?s[]=connection&s[]=timeout
You need to increase "Connection Timeout" that can be changed in LiteSpeed WebAdmin Console. If you cannot access to LiteSpeed WebAdmin Console and if you have "Shared Hosting Server" ask your provider.
LiteSpeed with Lscache plugin offers a webserver based cache engine. LiteSpeed cache plugin (function) is only the control panel for the webserver cache. W3 plugin and all other cache plugins are PHP based, so such plugins cannot offer a performance like LiteSpeed. If you want "Warp Speed"...
To combine and minify CSS doesn't solve it and hasn't something to with inline css. Disable inline css switch!
If you don't get answer from support regarding your issue with cache on manufacturer pages, use OpenCart forum. There are a lot of users they also use LiteSpeed cache.
Cache reduces time to generate the content before it can be sent to the client. Cache doesn't reduce data. If you embed all your styles (css) inline instead of storing it in css files, styles cannot be cached in browser cache and forces to load all data foreach page request again, again and...
Get the answer for your manufacturer caching problem from support and if you want I tell you why you are wrong how you use LiteSpeed cache. In my mind you should solve this wrong use first before you try to get your manufacturer pages get cached.