Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix broken Pressflow page cache lifetime #98

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Muppetteer
Copy link

Fix broken Pressflow page cache lifetime due to use of non-existent config variable, and incorrectly treating it as a timestamp.

It looks like at some stage someone has tried to fix the default Drupal behaviour of caching pages with CACHE_TEMPORARY. However it has never worked because 1. the wrong variable name is used and 2. even if the correct variable name had been used, the variable stores a TTL but cache_set requires a timestamp.

See
#33 (earlier incomplete pull request)
https://www.drupal.org/node/1279654
https://www.drupal.org/node/2130865

Fix broken Pressflow page cache lifetime due to use of non-existant config variable, and incorrectly treating it as a timestamp.
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.

1 participant