Multiple language and caching headers
Posted: Sun Feb 18, 2007 3:37 pm
I've been browsing the PHP comments for caching and stumbled upon this:
http://ca.php.net/manual/en/function.header.php#57926
Seems you can set the charset using headers, but what about using HTML - which is the prefered method? AC, you likely know?
Anyways, I'm looking for the best method to accomplish:
1) Setting the proper character set for each language the application is ported to
2) The proper (cross browser) header parameters for preventing caching. It appears everyone has a different way of doing it, is there a well known source that keeps track of which headers work in most of todays browsers?
Cheers
http://ca.php.net/manual/en/function.header.php#57926
Seems you can set the charset using headers, but what about using HTML - which is the prefered method? AC, you likely know?
Anyways, I'm looking for the best method to accomplish:
1) Setting the proper character set for each language the application is ported to
2) The proper (cross browser) header parameters for preventing caching. It appears everyone has a different way of doing it, is there a well known source that keeps track of which headers work in most of todays browsers?
Cheers