locked
Caching not working on release build RRS feed

  • Question

  • Hi,

    I am facing an issue where the cache implementation doesn't work in release build of my application, whereas it works perfectly in the debug build.

    I am using file dependecy caching and below is the configuration in web config of my solution. 

    <caching>
          <outputCacheSettings>
            <outputCacheProfiles>
              <add name="CacheClientSide1Minutes" duration="60" location="Client" />
              <add name="CacheServerSide1Minutes" duration="60" location="Server" />
              <add name="CacheClientSide2Minutes" duration="120" location="Client" />
              <add name="CacheServerSide2Minutes" duration="120" location="Server" />
              <add name="CacheClientSide5Minutes" duration="300" varyByParam="none" location="Client" />
              <add name="CacheClientSide24Hours" duration="86400" varyByParam="none" location="ServerAndClient" />
            </outputCacheProfiles>
          </outputCacheSettings>
        </caching>

    Friday, September 28, 2018 11:21 AM

All replies

  • Hi AbhinawR,

    Since your question is more related to Web, you could post a new thread in ASP.NET forum for suitable support.

    https://forums.asp.net/

    The CLR Forum discuss and ask questions about .NET Framework Base Classes (BCL) such as Collections, I/O, Regigistry, Globalization, Reflection. Also discuss all the other Microsoft libraries that are built on or extend the .NET Framework, including Managed Extensibility Framework (MEF), Charting Controls, CardSpace, Windows Identity Foundation (WIF), Point of Sale (POS), Transactions.

    Best Regards,

    Wendy


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, October 3, 2018 7:13 AM