Important Notice from AspDotNetStorefront
It is with dismay that we report that we have been forced, through the action of hackers, to shut off write-access to this forum. We are keen to leave the wealth of material available to you for research. We have opened a new forum from which our community of users can seek help, support and advice from us and from each other. To post a new question to our community, please visit: http://forums.vortx.com
Results 1 to 2 of 2

Thread: Using reset cache while application is ran over multiple servers

  1. #1
    BenJ is offline Junior Member
    Join Date
    Jul 2012
    Location
    Seattle, WA
    Posts
    7

    Question Using reset cache while application is ran over multiple servers

    I've noticed in the code that the resetting the cache clears cache elements in the HttpContext.

    Am I wrong in assuming that clearing the cache only clears the cache on the immediate server we clear it on?

    We run our storefront code on multiple servers. Do we need to reset the cache on each individual server every time we want to reset cache?

  2. #2
    webopius is offline Senior Member
    Join Date
    Nov 2008
    Location
    London, UK
    Posts
    440

    Default

    Hi

    I think ASPDNSF uses the System.Web.Cache, for example within EntityHelper.cs

    I'm happy to be corrected but I don't think that System.Web.Cache is best for server farm scenarios:
    http://www.codeproject.com/Articles/...ent-in-ASP-NET

    ...but this depends somewhat on how you have your ASPDNSF system configured across the servers.