caching authentication requests #20

Closed
pedersen opened this Issue Sep 24, 2012 · 5 comments

Comments

Projects
None yet
2 participants
Owner

pedersen commented Sep 24, 2012

This issue existed in Trac. The original can be viewed at cache,predicates,authentication

This issue existed on SourceForge. The original can be viewed at https://sourceforge.net/p/turbogears2/tickets/108

Owner

pedersen commented Sep 24, 2012

Original Author: sfjulie1, Original Timestamp: 2011-08-05 10:21:17.899000

Original Body: Problem :
every @predicates triggers @least 3 costly db request (user/permission/request)

Possible solution :
Would it be possible to cache authentication requests (groups/user_data/permissions) as long as the object are not modified (could we decorate an object so that any setter triggers a cache_invalidate ?)

Possible usefull stuff:
http://www.sqlalchemy.org/docs/orm/examples.html#beaker-caching

Owner

pedersen commented Sep 24, 2012

Original Author: sfjulie1, Original Timestamp: 2011-08-08 11:19:38.977000

Original Body: - type: defect --> enhancement

Owner

pedersen commented Sep 24, 2012

Original Author: pedersen, Original Timestamp: 2011-08-19 03:48:56.461000

Original Body: - milestone: Undetermined --> 2.2.0

Owner

pedersen commented Sep 24, 2012

Original Author: pedersen, Original Timestamp: 2012-08-24 01:47:35.002000

Original Body: - version: 2.1.1 --> 2.1.5

  • milestone: 2.2.0 --> 2.3.0
Owner

amol- commented Apr 25, 2015

This has been tackled in documentation at TurboGears/tg2docs@62140a3

@amol- amol- closed this Apr 25, 2015

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