The Anubhav portal was launched in March 2015 at the behest of the Hon'ble Prime Minister for retiring government officials to leave a record of their experiences while in Govt service .
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
How to Decide What Data to Cache and for How Long?
Caching is a trade-off between freshness and performance. To decide what data to cache and for how long, consider the following factors:
1. What Data Should Be Cached?
Good Candidates for Caching
Bad Candidates for Caching
2. How Long Should Data Be Cached?
Cache duration depends on how frequently the data changes and how critical freshness is.
max-age=604800)max-age=3600 to 86400)Sliding Expiration)max-age=600 to 3600)Caching Strategies
max-age)3. Choosing Cache Location
Summary