I have set the following thing in .htaccess
<FilesMatch "\.(html|htm|cgi|pl|php)$">
Header set Cache-Control "max-age=0, private, no-store, no-cache, must-revalidate"
</FilesMatch>
It tell that no php script shud be cached by browser or other user-agent.
But if I want only 1 php script to use other setting I can use
header('Cache-Control: public');
function in that script. But the problem is php is not able to change the header setting done in .htaccess?
<?php
header('Cache-Control: public');
?>
showing the following header
Cache-Control:max-age=0, private, no-store, no-cache, must-revalidate
while it shud show
Cache-Control: public
Any specific reasons?