Quantcast
Channel: Active questions tagged svelte - Stack Overflow
Viewing all articles
Browse latest Browse all 1541

Where to securely cache data in sveltekit?

$
0
0

I'm building authorization in a Sveltekit app.

Currently, each +page.server.ts load() function calls a 3rd party API to determine what pages a user has access to. I'd like to store this list of pages for the duration of a session, so the API is only being called once when a user firsts visits the site.

Where, if anywhere, can I store this information securely and make it available to +page.server.ts load functions?


Viewing all articles
Browse latest Browse all 1541

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>