2013-01-05, 02:47:07
(2013-01-05, 02:30:28)marrco Wrote: @shawn_a the only plugin i run in the site not properly caching is p01-contact, which doesn't seem to directly set the no-cacheheader. But (there's always a but) that plugin set a session cookie, and that's the only other difference i spotted between the cachable and non cachable site.
PHP will by default automatically set the no-cache header, if there is a session, see e.g. http://php.net/manual/en/function.sessio...imiter.php, otherwise the page (containing possibly information only available for the current visitor) might be cached by caching proxies, etc.