Quote:
Originally Posted by p3rsian
i am trying to tell browsers to get a fresh copy of the site (JOOMLA based) after x hours using this code in htaccess.
main question is if its ok to put PHP file in there . i could not find a site that has it but since its index.php homepage i need it.
Code:
# 2 HOURS
<filesMatch "\.(html|htm|PHP|css|js)$">
Header set Cache-Control "max-age=7200, must-revalidate"
</filesMatch>
thanx 4 helping
|
to boro, batcheh mekhad htaccess yad begireh. Mamanet medooneh to enja hasty?