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.
thanx 4 helping
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>

234567
Comment