Discussions

Ask a Question
Back to all

Best way to handle API response caching in Skysite custom modules?

Hi everyone,

I’m currently working on a custom module for Skysite and running into questions about handling API response caching. Right now, my setup pulls data directly from the Skysite API every time a request is made, which works fine for small calls but becomes inefficient with larger datasets.

Has anyone implemented a good caching strategy within Skysite custom modules? I’m wondering:

Is there a recommended pattern (memory cache vs. persistent store) that integrates smoothly with the Skysite framework?

How do you handle cache invalidation when data updates on the server side?

Are there any pitfalls or performance issues I should be aware of when caching API responses?

I’d really appreciate any advice or examples from those who’ve tackled this before.

Thanks in advance!

google baseball