# Caching public JWKS

**URL:** https://forum.heroiclabs.com/t/caching-public-jwks/3881
**Category:** Runtime Framework
**Tags:** typescript, server-framework
**Created:** [May 19, 2023, 6:38am UTC](https://forum.heroiclabs.com/t/caching-public-jwks/3881 "2023-05-19T06:38:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dragonlobster](https://avatars.discourse-cdn.com/v4/letter/d/9f8e36/32.png) [@dragonlobster](https://forum.heroiclabs.com/u/dragonlobster)
#### Post date: [May 19, 2023, 6:38am UTC](https://forum.heroiclabs.com/t/caching-public-jwks/3881/1 "2023-05-19T06:38:43Z")

</div>

I am using Auth0 for authentication through JWT; Auth0 requires me to cache a public JWKS (it’s a public URL to a json file) as to not hit their endpoint too often and exceed quota. This public JWKS would be used to verify a signed JWT from client. I was wondering would storage engine be an appropriate place to cache this? Could I do this on server side - store/cache JWKS as a system owned data on storage engine. Thanks in advance
