I'm seeing my Ambient Data Framework code is entered on every http request, so if a page has 5 images, the one webpage is running the code 6 times.
Is there an easy way to run the code only when the page (aspx) is requested?
I'm running on Tridion 2009, IIS 7 and .Net 4.0
Thanks
John
You can make sure the Ambient Data Framework module only runs for ASP.NET requests, by simply ticking the box that says 'Invoke only for requests to ASP.NET applications or managed handlers' in the Modules section of IIS.
You can also exclude certain URLs from being handled by the framework by editing the configuration file. See the following page in the documentation: Excluding paths from the Ambient Data Framework filter
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With