Improve portability of `advanced-cache.php` with respect to `%%QUICK_CAC...

Please see websharks/quick-cache#258