Rank: Newbie Groups: Member
Joined: 4/28/2021 Posts: 3
|
Hello,
is there a limit for the browser cache, especially for a long running program? If yes, is it possible to change the default value?
Kind regards, Andreas Böhm
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,273
|
Hi,
No. There isn't a hard limit for cache size. The cache size is dynamically calculated based on a number of factor but generally would not exceed 10% of the available disk space. So as available disk space shrinks, the cache will automatically shrink. Additionally it will also try to honor the cache policy set by the web server. For example, if a web server serves a page with a cache policy stating the page should only be cached for one month, then after one month the cached page would become stale and will be evicted. In short, even for long running program the cache will not grow indefinitely.
Thanks!
|