Update advanced-cache.php

Make $url_key protocol aware