const mixinafBedSheet::IeAjaxCacheBustingFilter
afBedSheet::IeAjaxCacheBustingFilter : afBedSheet::HttpPipelineFilter
Prevents IE from caching Ajax and CORS requests. Sets the following response http headers:
Cache-Control: max-age=0,no-cache,no-store,post-check=0,pre-check=0" Expires: Mon, 26 Jul 1997 05:00:00 GMT"
This is by far, much preferable, to the client setting a cache busting query string to the request url (yuck!).
To enable, just contribute the filter to the HttpPipeline:
@Contribute { serviceType=HttpPipeline# } static Void contributeHttpPipeline(OrderedConfig conf) { ... conf.addOrdered("IeAjaxCacheBustingFilter", conf.autobuild(IeAjaxCacheBustingFilter#), ["after: BedSheetFilters"]) ... }