Skip to content

Avoid fetching isloggedin all the time. check cookie instead #60

@marcus-sonestedt

Description

@marcus-sonestedt

Use something like this: "document.cookie.match(/^(.;)?\sMyCookie\s*=\s*[^;]+(.*)?$/)"

Only get data when we need to update it.

Preferrably, the isloggedindata would be stored in a local cookie or something, as we need to show it often but only update it occasionally.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestperformanceAffects site performance, not funciton

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions