Skip to content

Conversation

@abhigupta
Copy link

Fix incorrect cache variable name. page_cache_lifetime is invalid variable name because it isn't set or used anywhere. This bug prevents Drupal from enforcing minimum cache_lifetime for pages. Without this change, even if Minimum cache lifetime (Settings->Performance) is set to 1 minute, page will still be cached for CACHE_TEMPORARY.

…iable name because it isn't set or used anywhere. This bug prevents Drupal from enforcing minimum cache_lifetime for pages.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

page_cache_lifetime variable isn't anywhere in pressflow code.

rjbrown99 added a commit to rjbrown99/6 that referenced this pull request May 1, 2012
@abhigupta abhigupta closed this Apr 29, 2013
@caktux
Copy link

caktux commented Oct 1, 2013

This is still not included in the latest release, please fix it, we shouldn't have to be patching old websites like this.

@omega8cc
Copy link

omega8cc commented Nov 8, 2013

The lack of this fix has caused even more confusion: https://drupal.org/node/2130865

@Muppetteer
Copy link

This fix is not complete. $expire is a timestamp not a TTL. Here is a proper working patch:

#98

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants