Cross-site IIS 7.0 application pool - is cache between sites used?

I have two sites that use the same data between their sites, with the exception of one of the sites, this is a content management system. In the content management system, when an item is saved, it ends the cache for a specific object.

On another site, I would like to use the cache, so I do not need to constantly travel to the database. If I use the same cache keys / objects between these sites that use the same application pool, will there be a site that is not a CMS, in this case reflects that the cache has expired and retrieves a new object?

+4
source share
2 answers

Two applications run in the same application pool, but they do not run in the same memory space. You may think that these two applications have their own set of pointers to memory and thus one does not affect the other. You cannot access other application variables, and the cache lifetime is not affected, even if they are in the same data store.

+3
source

You summarize the answer in just 2 words - "Application Cache". It applies to individual applications and does not care about AppPool, so it does not work as you expect. Perhaps you can see the exchange between the two applications.

0
source

Source: https://habr.com/ru/post/1436699/


All Articles