Opened 6 years ago

Last modified 6 years ago

#30072 closed Bug

get_current cache uses global variable instead of cache breaking multiple instance deployments. — at Initial Version

Reported by: Luke Seelenbinder Owned by: nobody
Component: contrib.sites Version: 2.1
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

I use the Sites framework extensively with a multiple instances of the application server deployment of Django. Because the sites framework uses a global to cache the current site, any update only affects whichever application server handled the update, leaving the outdated information cached on any other application servers.

I would patch it to use the Django caching system instead of a global, but I'm not sure if that's the correct way to go about it.

Change History (0)

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