Replies: 2 comments 1 reply
-
Not experienced with cloudflare. Can the problem be isolated from that?
Using pre-request and request.path it should be possible to set different headers per query. So a request on
Not sure I understand the above but a client can send a header, you can get this header with SQL and do some conditional logic. |
Beta Was this translation helpful? Give feedback.
-
Closing as a supabase related question, not PostgREST. |
Beta Was this translation helpful? Give feedback.
-
I am using a cloudflare worker to fetch data from supabase via postgREST. I'd like to cache certain queries but not all, however, I noticed supabase's postgREST is using cloudflare and I do not believe you can cache another account's cloudflare worker.
Is it possible to cache responses per query? The Response Headers section in the docs makes it seem like it's possible through an sql statement but not necessarily from a fetch() with headers
supabase postgREST response headers
Beta Was this translation helpful? Give feedback.
All reactions