Update advanced-cache.php

various quick fixes