Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: C1 v4: How do I turn off caching when embedding a function in a page template feature?

$
0
0
Make use of the SetServerPageCacheDuration function, setting its parameter to 0 - insert the following markup in your XSLT function, for example right below <body>:
<f:function name="Composite.Web.Response.SetServerPageCacheDuration" xmlns:f="http://www.composite.net/ns/function/1.0">
  <f:param name="MaxSeconds" value="0" />
</f:function>

Viewing all articles
Browse latest Browse all 2540

Trending Articles



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