refined-airport-1308
07/13/2023, 10:17 AMgetServerSideProps
check if the user is authenticated by calling https://$my-ory-endpoint/session/whoami
. I noticed that the first connection after inactivity is always incredibly slow (1+ secs) and after that everything becomes instant again.
I remember asking a while ago (I had the same issue, but on all requests) and now I forward the cookie
header client -> vercel -> ory
and the set-cookie
header ory -> vercel -> client
so that __cflb
is always sent. Any way I can debug this issue further?steep-lamp-91158
refined-airport-1308
07/13/2023, 11:04 AMrefined-airport-1308
07/13/2023, 11:06 AMsteep-lamp-91158
steep-lamp-91158
refined-airport-1308
07/13/2023, 12:17 PM__cflb
token from the client to oryrefined-airport-1308
07/13/2023, 12:17 PM__cflb
)steep-lamp-91158
steep-lamp-91158
steep-lamp-91158
refined-airport-1308
07/13/2023, 12:22 PMrefined-airport-1308
07/13/2023, 12:23 PMflamboyant-cori-zs96bdg4le
(it's not secret isn't it?)steep-lamp-91158
steep-lamp-91158
refined-airport-1308
07/13/2023, 12:29 PMsteep-lamp-91158
refined-airport-1308
07/13/2023, 12:34 PMsteep-lamp-91158