Maybe you can find a way to add a hook that will trigger the cache purge after processing rand() and str_suffle()?
https://docs.litespeedtech.com/lscache/basics/#purging-the-cache
I saw a ticket with a similar question, maybe it's from you?
The solution is,
Static file compression will share the /tmp/lshttpd/swap/ directory as normal LSWS swap files. You can reset gzipCacheDir to other locations such as /opt/lswsgzipcache/ etc via OLS web admin.
I am not sure which kind of CMS you are using, the cached page will not process the PHP and MySQL again, that's how cache works. To avoid it, you can either disable cache for this page or make the code into JS code.
This is what I did,
1. Start the collabora container
sudo docker run -t -d -p 1.2.3.4:9980:9980 -e 'domain=nextcloud.example.com' --restart always collabora/code
2. Goto Web Admin Server Configuration > External App to add a Web Server with NAME: collabora and Address: https://1.2.3.4:9980
3...
No such information since not many OLS as a load balancer case before.
It's not a load balancer, to reduce some traffic to the origin server, maybe you can consider using quic cloud CDN service(https://quic.cloud/)
Hi,
Could you provide more information, like the URL or the code block? and share it on WordPress forum https://wordpress.org/support/plugin/litespeed-cache/ ? One of the plugin support will help you from there.
For mysql docker container, there's a volume set up by default to store data in the disk (/data/db), so docker-compose down, start, restart will not cause the data to disappear.
volumes:
- "./data/db:/var/lib/mysql:delegated"
OLS can do a simple load balancer, similar post here https://forum.openlitespeed.org/threads/ols-as-loadbalancer.2573/
For the DB part, you might want to set up replication, an auto-sync process to sync other files(cache excluded).
I see, like step 1 of this https://docs.openlitespeed.org/configuration#create-virtual-host-directories, right?
You might want to raise an issue( feature request ) to https://github.com/litespeedtech/openlitespeed
You might want to use rewrite rules to redirect URLs.
More https://community.cyberpanel.net/t/how-can-i-set-up-an-addon-domain-and-redirect-to-the-main-domain/14594
If you have a domain with no valid cert, then an SSL error is expected. How about applying a wildcard cert for this domain? https://docs.litespeedtech.com/cloud/images/wordpress/#how-do-i-apply-wildcard-certificate
PHP version per virtual host or do you mean PHP version per directory?
Per virtual host, please check https://docs.openlitespeed.org/configuration#set-up-php-at-the-virtual-host-level
Per directory, please check https://openlitespeed.org/kb/setup-per-directory-file-php/
If you leave the site Key and secret key empty, does the Recaptcha is still not working? For further assistance, please raise a ticket to bug@litespeedtech.com with this post link appended.
A PR is always welcome. but for general virtual host dir, do you mean, e.g. "mkdir /usr/local/lsws/NEWExample/conf"? a PR maybe not be needed since everyone may want to create it in a different location or with a different name. Hence you will need to set proper permission for it. Unless I...