No cache and Google AdSense performance
- by Luca
I'm developing a page where I need to avoid JavaScript caching by browser. I've added this header:
<?php
header('Cache-Control: no-cache, no-store, must-revalidate');
header('Pragma: no-cache');
header('Expires: 0');
?>
After this, browsers didn't cache more JavaScript sorting out the issue, but in the same time I noticed a drop in Google…