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

Enumerate cache keys #348

Open
jean opened this issue Jul 3, 2013 · 0 comments
Open

Enumerate cache keys #348

jean opened this issue Jul 3, 2013 · 0 comments
Labels

Comments

@jean
Copy link
Member

jean commented Jul 3, 2013

We have a page listing many documents, filtered on various criteria.
The list is cached based on timestamp (hour resolution) and selected criteria: ('thispage__%Y-%m-%dT%H__%s' % (year, month, day, hour, str(query))')

If a document in the list is deleted, all caches of this view should be expired (i.e. all keys starting with thispage__). To do this, it should be able to enumerate cache keys.

In the absence of this feature, the cache needs to be cleaned as a whole (cleanCache()).

Pro: more flexible cache management.
Con: we're sure to forget about stale caches.

djay added a commit that referenced this issue Jun 2, 2020
* Upgrade setuptools and zc.buildout to match the Plone 5.0.9 safeset

* Remove screen captures from tests

* Fix "I can move a subform in a form by drag and drop" test

* Revert "Upgrade setuptools and zc.buildout to match the Plone 5.0.9 safeset"

This reverts commit 62dc9512

* Remove unused function and add newline end of file

* Use plone release 5.0.10

* Trying plone release 5.0.8 as 5.0.10 causes error
 "Getting keyword names from library 'Remote' failed: Calling dynamic method 'get_keyword_names' failed"

* Revert: Trying plone release 5.0.8 as 5.0.10 causes error  "Getting keyword names from library 'Remote' failed: Calling dynamic method 'get_keyword_names' failed"

* fix run as right user to prevent setuid startup issue

* fix change in random ports in plone.app.testing

* prevent build from continuing if buildout failed

* Fix syntax error in docker-compose command to check for the existence of `bin/test`

* Remove test network and fix plominotest service container name to 'plominotest'

* Try to fix failing test "I can do redirect in form on save Form Redirect"

* Fix test cleanup

* Revert a sleep back to 10s

* Adjust sleep settings to try to fix tests on CI

* Delete Dockerfile-copytests

* Adjust sleep/wait settings to try to fix tests on CI

* Use 'Click Element' rather than Javascript to click save button

* Remove commented out lines

Co-authored-by: me@jeffersonbledsoe.com <me@jeffersonbledsoe.com>
Co-authored-by: Dylan Jay <software@pretaweb.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant