Caching solution in Forge applications

I am working on the application where I am sending multiple subsequent requests and I am looking for a caching solution.

I came across @forge/cache package but I am not sure if it’s the right solution for this since I couldn’t find any resources for this.

Is there a chaching solution for forge applications? or

1 Like

Hi Yves

Unfortunately if it’s not in our documentation it’s unlikely to be available.

Much like this other time we’re exploring possibilities for now. Maybe one day it will be available (but don’t count on it just yet).

In regards to your question you might have some luck with an in-memory cache if these subsequent requests are happening in the same request.

I’ll post here again if anything changes in the @forge/cache front.

3 Likes

Thanks @JoshuaHwang