Hi @eddr, Litespeed cache will cache page by query string and URI. Could you explain more about the meaning of “different version”?
Thread Starter
eddr
(@eddr)
different version are like https://www.example.com/?q=1 vs ?q=2
I’m using NGINX, will it work anyway?
Also, I can’t find out in the docs – how do I programmatically purge such cache with uri parameters?
for example, purging
https://www.example.com/?q=1 specifically
Thanks!
Unfortunately, the caching function is integrated with server which requires LiteSpeed WebServer Enterprise, OpenLiteSpeed or LiteSpeed ADC.
If you need to purge cache programmatically, you can use LiteSpeed API, for more details please check: https://www.litespeedtech.com/support/wiki/doku.php/litespeed_wiki:cache:lscwp:api