I tried to read about caching in ASP.NET and still have a few questions.
When using Cql Cache dependencies ... I know that you can specify which tables will be monitored, but if any change happens to any of these tables, does this reset the entire cache? I understand that I donโt want to cache tables that will have frequent changes, but we could get a good handful of cached tables and even if each table receives only a few updates per day, which can turn into a 50x cache flushing daily (8- hour window).
I would create and maintain this cache through the GAC DLL. A large number of different applications will have access to this PAC at any given time. Does each application support its own copy of the cache, or is it just stored in one global location (or, possibly, in the application pool)?
Is there a physical location on the server where I can see how much space the cache currently occupies? This would be extremely appropriate if each application kept its own cache, as this could lead to a large amount of disk space.
Is there a way to physically force the cache to rebuild itself? I could see that my boss believes that the cache was to blame for a particular problem, and I would have to resolve it at the very level. There is no "change of record and indication that SHOULD rebuild the cache", but rather "do [Action X] and KNOW that everything that was in the cache has now disappeared"
Thanks in advance for your answers and time.
source share