Hi Kimberly, thanks for helping me and excuse me for my slow response.
1. The “empty cache” button is working perfectly fine. When I hit the button the cache folder will be deleted entirely like it should.
2. When I make changes on domain.com/ the cache on domain.com/?utm=23u42 is not purged so updates will not show.
Maybe it has to do with the https edits I made. I implemented them because without the edits purging the cache does not work at all. Please take a look at the edits below.
I have noticed that the logic for determining if the page is HTTPS is just plain wrong in the latest version 0.9.4.1
W3\PgCache.php around like 960
if ($request_uri)
$key = substr($request_uri, strtolower(substr($request_uri, 0, 8)) == 'https' ? 8: 7);
Substring of a request uri from 0 to 8 will *never* evaluate to "https" and thus deleting keys never works for https pages.
It should be https:// or substring 0,5 instead.
Also get_post_urls function in W3\SharedPageUrls.php needs to be updated. post_permalink($post_id) needs to be changed to get_permalink($post_id), as the former has been deprecated by wordpress.
Did you test it on a http or https environment?
Please let me know if you have any suggestion.
Thanks
Tim