No way to clear LSCache cache since about v.6.0 rolled out

#1
It seems there is literally no support for a paid product which is kind of a shame as I now have to write this again after submitting it via the contact form weeks ago and getting no response whatsoever. The issue is that the very simple custom implementation of a cache clearing php script we had for several months suddenly stopped working despite there having been no changes to our server setup in the meantime. No method for clearing individual cache entries works anymore which is simply infuriating since this means we need to purge the cache by rm -rf /lscachedir/ and then restart litespeed each time we want to clear the cache for any page. Simply unacceptable.

NONE of the other methods work, e.g.:
curl -i -X PURGE https://fullurlhere, executed from the server itself

/usr/local/lsws/admin/misc/purge_cache_by_url -p https://fullurlhere

/usr/local/lsws/admin/misc/cleancache.sh /lscachedir/

All of these REPORT that the cache has been cleared but it is not actually cleared as we get a cache hit on refresh, and changes are not reflected. Our php script which was using curl to execute the curl command simply gets a 200OK response instead of the response that the cache has been cleared.

Again, we've made no changes to the server setup in the meantime. Dir and file permissions on the cache dir look fine as far as we can tell. This needs to be resolved asap.
 
#3
Thank you, Pong. I've been in contact with support and the issue was confirmed for 6.0+. If it is a bug, hopefully it will be fixed in future releases.
 
#4
Bug confirmed and will be fixed in the next release. Also, for anyone using a script to invoke the PURGE command, make sure you use HTTP1.0 or HTTP1.1 in order to get the correct response "200 Purged" instead of just "200". E.g. in php use

curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1);
 
Top