Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#25613 closed New feature (duplicate)

Transactional Cache TestCase

Reported by: Hatem Nassrat Owned by: nobody
Component: Testing framework Version: 1.8
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

TLDR; Having the cache backend refresh much like databases would make life a lot easier

Caching is truly awful in django and testing custom cache mixins are hard. The exact problem I am having is a mix of make_middleware_decorator + FetchFromCacheMiddleware which i used to create a CacheMixin for selective caching, to be used alongside UpdateCacheMiddleware (which I also had to override so it doesn't vary on google analytics cookies and what not). This is starting to be more about why Caching logged in content is problematic in django rather than the feature request.

Change History (2)

comment:1 by Tim Graham, 9 years ago

Resolution: duplicate
Status: newclosed
Summary: Trasactional Cache TestCaseTransactional Cache TestCase

As far as I can tell, this is a duplicate of #11505. If not, please describe the issue and proposed solution in a bit more detail. Thanks!

comment:2 by Hatem Nassrat, 9 years ago

Yup its a duplicate! just couldn't find it when I searched

Note: See TracTickets for help on using tickets.
Back to Top