Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

caching authentication requests #20

Closed
pedersen opened this Issue · 5 comments

2 participants

@pedersen
Owner

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

@pedersen
Owner

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

@pedersen
Owner

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

Original Body: - type: defect --> enhancement

@pedersen
Owner

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

Original Body: - milestone: Undetermined --> 2.2.0

@pedersen
Owner

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
@amol-
Owner

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

@amol- amol- closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.