Soon after upgrading to OLS v1.8.4 it works for a while, but in a few hours client sees "The connection has timed out" while the error log displays:
What might be causing this?
Attached: Server Configuration > Tuning settings
I don't use PHP (neither should anybody else), I use Lucee - an open source Coldfusion (Java) App Server.
Bellow are my UI Output settings, following your recommendation I set Buffersize="4096" for the AJP Tomcat connector in the App server config file.
Will be testing it and I'll be back with...
UPDATE: still encountering the same issue with LScache randomly, almost a year later. There seems to be no pattern or predictive behavior of when and why it happens (breaks the encryption while caching the page), and when it does the only solution is to disable LScache and restart the LS...
Great news!
Managed to connect Lucee (CFM) to OLS via Tomcat AJP/1.3 (as Servlet Engine) and also trough UDS (as Web Server), with somewhat limited results.
For anyone interested, here are the server.xml connectors config settings for Tomcat (v9) - they can coexist:
<Connector...
Noted. Alas, cached static files trough (basic) CDN services are significantly slower than same, non-cached JS/CSS/image files served directly from OLS w.s.
While these CDN services might have higher tiers of subscription that can prioritize their caching for you, if one would be inclined to...
Even though LScache is enabled, it only seems to affect dynamic files (CFM) and HTML files.
How do I set it to also cache JS, CSS & image files? Is there a setting for it I missed?
My cache settings (Server settings -> Modules):
checkPrivateCache 1
checkPublicCache 1
maxCacheObjSize...
Still haven't found a solution to this issue, still encounter it sporadically. Wonder if someone else is facing the same and maybe they found a workaround.
The displayed content (directly from LS cache) is indeed NOT UTF-8, which is the problem. The dynamically generated HTML however -...
Thank you for testing it. Happens randomly. When I restart now (without any change whatsoever to the OLS settings or the directory structure) now everything works fine. Went over all my domains/pages, error does not repeat for now, but likely will reoccur at some point.
What could be causing it?
New error. Screenshot (could it be the path? 2 slashes):
Server level settings:
Virtualhost level OCSP stapling settings:
OpenLiteSpeed 1.8.2 on Alma Linux 9.5 (x64)
A lossless compressed data format, newer, faster (in de/compressing) than Brotli. Cloudfare uses it.
https://github.com/facebook/zstd/blob/dev/doc/zstd_compression_format.md
https://facebook.github.io/zstd/
Indeed, I managed to make it work from within the OLS webadmin console:
Virtual Host -> Context: Type Static | URI: exp:^.*(jpg|jpeg|gif|png|ico|webp|avif|mp4|webm)$
You can add both "Header unset ETag" and "Header unset Set-Cookie" here just be careful which file extensions you list in the...