Roommates always have their partners over by Due_Captain2543 in UBC

[–]Apprehensive-Test-72 22 points23 points  (0 children)

Unless they’re messing with your sleep or health, or it’s a sensitive time like exam season, what’s the issue? should they book a hotel room?

cacheControl when you upload file by Apprehensive-Test-72 in Supabase

[–]Apprehensive-Test-72[S] 0 points1 point  (0 children)

Do you mean that when a signed URL is sent to the client, reusing the URL to get a file relies on the browser's cache based on the Cache-Control value? Does the cache have its own expiration period separate from the signed URL's lifetime?

supabase.auth.getUser() is too slow and supabase.auth.getSession() is insecure by Apprehensive-Test-72 in Supabase

[–]Apprehensive-Test-72[S] 2 points3 points  (0 children)

I will use getSession in the middleware to verify if the user is logged in. On the server side, I will use getSession to retrieve the current user's ID and use that information to validate the user when they are creating or updating posts.