How can I cache objects in Jets App?

question

#1

Similar to Rails.cache.fetch (Low-Level Caching) , is there any concept of caching objects in Jets? I tried to search in the docs but couldn’t find any thing related to caching.

I want to cache my JSON serializer in my Jets API mode app and I’m looking something like https://guides.rubyonrails.org/caching_with_rails.html#activesupport-cache-rediscachestore so I could use

Jets.cache.fetch("cache_key", expires_in: 12.hours) do
...
end