I'm trying to work with sessions for a moment and noticed that session's usage triggers cache control method and pragma switching to no-cache. I've read that session.cache_limiter parameter can be used to specify the type of caching (none/nocache/private/private_no_expire/public).
Is no-cache method really needed by session mechanism? If no, what caching type is better for SE?
I think the problems can start when the users starts hitting the back button. For example if a user makes changes to a database and on the next page hits back, if the browser is told to hold a cache, it will show the cache once the back button is hit.... you see the problem...
To say the truth - the caching method depends only on you. If you use the session only to get info about user (how many pages visited, etc) then you can cache everything If you have some private page - don't cache it If the page is randomly generated (eg game) don't cache it
So really the caching depends only on the usage. Hope this cleares things a bit Best regards Michal Cibor