Saturday, March 24, 2012

Ajax and OutputCache

I have a control that I cache using the directive:

<%@dotnet.itags.org.OutputCache Duration="60" VaryByParam="none" %>

This control also has an ajax control that uses the callback control from CA. It does not work when this directive is on the page (error: data could not be loaded), when I remove it, it works. Is there a fix for this? Can I make it so it caches non-AJAX callback requests only?

Thanks,
- Al

Is it VaryByControl you are looking for? Or am I misunderstanding something here?

No comments:

Post a Comment