I'm trying to use ASP.NET output caching (the @OutputCache directive) to cache pages containing a Telerik RadChart. However, it seems that after some amount of time the chart image URL becomes invalid, and I get an exception when I try to load a cached page. (Actually I get that RadChart popup saying "An error occurred, do you want to see a stack trace?" But if I say yes, all I get is a blank page and no stack trace.)
At first I thought it was because the RadChart is streamed through user session, and I figured that once the session was over for the user that generated the chart, then the chart url became invalid. This seemed reasonable, so I went ahead and changed the chart to UseSession=false and set a TempImagesFolder. With this change, my charts are still served up ok initially, but it failed to fix the problem since the URLs will still become invalid after some amount of time.
My chart image URLs currently look something like this: http://example.com/data/topic/ChartImage.axd?UseSession=false&ImageName=tMecfLN%2fISaQeq5zuhXMkN0UYsBhFjHusj3p4X09SIbwkrgJ7zslmK5GNw2FM%2bOaXQAMOHUlBAO6dlo3%2b0UKOQ%3d%3d&imageFormat=Png
So, do Telerik charts support ASP.NET page output caching? If so, how can I fix the behavior I'm seeing?