Yahoo is indexing .css files
Posted: Sat Dec 16, 2006 8:59 am
Ever since I started to parse .css as php in order to use gzip to compress my css files, Yahoo has started to index my css files as well.
In order to prevent this I have researched but cannot distinguish the difference between the following http lines as their definitions are too slight to be able to distinguish between them. What cache-control can I use inside my css files to prevent indexing? Which ones of the below may I leave out / are not needed?
In order to prevent this I have researched but cannot distinguish the difference between the following http lines as their definitions are too slight to be able to distinguish between them. What cache-control can I use inside my css files to prevent indexing? Which ones of the below may I leave out / are not needed?
Code: Select all
<?php
header("Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0");
header("Pragma: no-cache");
?>