Skip to content

Repeated auth.uid() calls are slow #24

Description

@amyjko

What happened?

Our security rules repeatedly call auth.uid(). Supabase recommends caching this in an RLS rule and warns that we are not doing this, introducing performance issues.

What browsers are you seeing the problem on?

No response

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementProposal for new or changed functionality

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions