Quantcast
Channel: Common Language Runtime Internals and Architecture forum
Viewing all articles
Browse latest Browse all 1710

Caching not working on release build

$
0
0

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>


Viewing all articles
Browse latest Browse all 1710

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>