Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repeated auth.uid() calls are slow #24

Open
amyjko opened this issue Nov 30, 2024 · 0 comments
Open

Repeated auth.uid() calls are slow #24

amyjko opened this issue Nov 30, 2024 · 0 comments
Assignees
Labels
enhancement Proposal for new or changed functionality

Comments

@amyjko
Copy link
Owner

amyjko commented Nov 30, 2024

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

@amyjko amyjko added the enhancement Proposal for new or changed functionality label Nov 30, 2024
@amyjko amyjko self-assigned this Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Proposal for new or changed functionality
Projects
None yet
Development

No branches or pull requests

1 participant