The "Cache-Control: private" was my own idea after reading the RFC's on caching. None of the PHPBB RC's used that line. (or used private)
RC3 used :
Code: Select all
header ("Cache-Control: no-store, no-cache, must-revalidate");
header ("Cache-Control: pre-check=0, post-check=0, max-age=0", false);
RC4: the line has been merged together to be:
Code: Select all
header ("Cache-Control: no-store, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0");
.
What was happening was that if you had the latest version of PHP on your server then you would get the equivlent of RC4 on RC3. However most of the versions of PHP didn't support the duplicating headers (i.e. Two Cache-Control headers) and you would only get the second header line.
If you want to go back to the way RC3, then just use this line:
Code: Select all
header ("Cache-Control: pre-check=0, post-check=0, max-age=0");
However that line does
NOT work through AOL proxies. They (AOL'rs) will not be able to use the board if your board uses cookies.
So if you like the way RC3 worked but you do want it to work through AOL proxies use this line:
Code: Select all
header ("Cache-Control: private, pre-check=0, post-check=0, max-age=0");
Again, this has not been extensively tested. It may cause other problems with other proxies.
I currently use the following line as I think it works the best. But it would be good to get feedback on if the line above vs the line below works better.
Code: Select all
header ("Cache-Control: private, no-cache, must-revalidate, pre-check=0, post-check=0, max-age=0");
Nathan.