Skip to content

Repeated auth.uid() calls are slow #24

@amyjko

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

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