Sharing the Cache between ASP.NET applications

  • Thread starter Thread starter Matty J
  • Start date Start date
M

Matty J

Hi

I'm working on a website which has a CMS for administrators and a
public website. I'm intending on implementing data caching to improve
performance / reduce number of calls to DB. However, when the CMS
administrators make a change, the cache in the public website should
be purged so that the public get the up to date data (and so that the
administrators can check that their changes are live). The CMS and
public website are on two different sub-domains of the same domain,
but are both on the one web server and IIS instance. Is it possible to
share or access the cache across these two ASP.NET "applications"? I
thought that if I made the two apps both use the same Application Pool
it might be possible? However, from what I've found on Google it is
not possible to share the cache. FYI it's not a high traffic website.

Thanks for your response.
Cheers
Matt
 
Thanks Patrice.

DB is SQL Server 2005, although I'm not sure I'll have permission to
or be able to use Service Broker... :-(

But going back to the original question, is it possible to share the
cache? If so, how? ApplicationPool?

Cheers
Matt
 
Back
Top