Include is_ssl() in cache key