Take the tour ×  I would like to clear cache for a XSLT using
Sitecore API's. Is there any way i could do that?  share|improve
this question add comment  1 Answer  Yes, there is a way to
clear the cache from the API for a specific website. Use this
code to clear the xsl cache for a specific website.  SiteContext
mySite = Sitecore.Configuration.Factory.GetSite("mywebsite");
XslCache xslCache = CacheManager.GetXslCache(mySite);  Keep in
mind that if you have a environment with a CMS-server and
(multiple) frontendservers, clearing the cache this way only
clears the cache on the particular server and not all servers.
share|improve this answer Hi martijn, thaks for the reply. is
there any way i can clear a particular xsl..? –  sbmandav Sep 20
'12 at 9:42 I think publishing that xslt would be one of the
solutions i guesss... though it sounds little crazy and weird.
–  sbmandav Sep 21 '12 at 15:40 add comment  Your Answer