How does cache work?

Jesus82
6
Jesus82
commented 8 months ago

Hi, I have a sitemap that needs several api calls with axios in order to get all the routes, so it slows down the page loading. My question is how does exactly the cache of this module work?
If for example user A checks the page, then he cames back in 6 hours, it is clear that the sitemap will not be rebuilt. But what if user A checks the page, and then user B checks it from another IP after 6 hours? Would in that case be rebuilt for user B?

Thanks in advance and congrats for the great module!

1
NicoPennec
1.7k
NicoPennec
commented 8 months ago

Thanks for the encouragements @Jesus82 ๐Ÿ‘

About the cache system, it's driven by the back-end Node.js, so it's Universal mode only. It's a server-side global cache and therefore shared between all IP addresses or any HTTP requests.

1
Informations
Question โ€ข Resolved
#c44 - Created 8 months ago