Drupal cache headers are driving me nuts!
Posted by Kim | Posted in Coding, Content Management Systems, Drupal, PHP | Posted on 10-10-2011
0
A client of ours had this problem on their website, where users who had logged out, could still see their profile page as if they were connected!
After googling (what else!) I found the answer to be in a slight change of the headers being sent by Drupal:
File: /includes/bootstrap.inc, line 728 / 765
From:
Cache-Control:store, no-cache, must-revalidate, post-check=0, pre-check=0
To:
Cache-Control:no-store, no-cache, must-revalidate, post-check=0, pre-check=0
More info on this issue can be found here: http://drupal.org/node/197786#comment-1565612, the patch is right here: http://drupal.org/files/issues/login_linger.patch


