Helicon Ape 220.127.116.11 (and newer) got support of cache cleaning upon request.
Now, to clean cache just set the
cache-clearenvironment variable. This will cause cache cleaning corresponding to the current request (context).
cache-clearvariable using SetEnvIf directive provides flexibility of conditions that will lead to cache cleaning.
For example, to trigger cache cleaning by requesting specific URL:
To trigger cache cleaning by appending specific query string value:
SetEnvIf request_uri ^/system/cache/clear/$ cache-clear=1
For security purposes it may be necessary to clean cache only from definite IP address:
SetEnvIf Query_String clear_cache_request cache-clear=1
Cache cleaning may take some time, so be ready.
SetEnvIf (Query_String clear_cache_request) and (Remote_Addr 11\.22\.33\.44) cache-clear=1
When cache cleaning is over, the
error.log(with info or higher verbosity level) will display the number of deleted records.
Ruslan, Anton - Helicon Tech Team