How do I handle caching of Media assets from payload in the browser

default discord avatar
haniel.u
8 months ago
3

Any Ideas?

  • discord user avatar
    jesschow
    Payload Team
    8 months ago

    Hey @haniel.u this is a neat cache plugin you could try

    https://github.com/Aengz/payload-redis-cache
  • default discord avatar
    wamalox696
    5 months ago

    I'll pick up the topic again. I think hypersonic.dev wanted to know how it's possible to add the appropriate headers to handle client-side caching of static assets. How can it be done?

  • default discord avatar
    haniel.u
    5 months ago

    How I ended up handling it

    image.png
Open the post
Continue the discussion in Discord
Like what we're doing?
Star us on GitHub!

Star

Connect with the Payload Community on Discord

Discord

online

Can't find what you're looking for?

Get help straight from the Payload team with an Enterprise License.