c# - Is clearance of output caching clear all caching? -


i have implemented output caching in project on 2 action methods named "xyz" & "abc". please note controller different both of methods.

if clear output caching of action "xyz" on event, clear caching of action method too? or need clear caching second method well? clearing caching using below code:

 var requestcontext = new system.web.routing.requestcontext(     new httpcontextwrapper(system.web.httpcontext.current),     new system.web.routing.routedata());      var url = new urlhelper(requestcontext);     var urltoremove = url.action("xyz", "controller");     httpresponse.removeoutputcacheitem(urltoremove); 

please advice.


Comments

Popular posts from this blog

searchKeyword not working in AngularJS filter -

sequelize.js - Sequelize: sort by enum cases -

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -