Skip to content

current_user is run each time looking for current user #67

@evizitei

Description

@evizitei

In Quimbee we found that the current_user proc was being executed in excess of 20 times on each request to a tandem page. This wasn't a big deal if it was inexpensive, but when we introduced IP filtering, that proc introduced serious performance problems. We got around that in quimbee by using the session to set flags indicating what had already been checked, but we might consider having tandem cache the current_user information for a particular request so it only has to run the proc once in the request/response cycle.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions