This is a migrated thread and some comments may be shown as answers.

Rotator caching issue

3 Answers 73 Views
Rotator
This is a migrated thread and some comments may be shown as answers.
Jon
Top achievements
Rank 1
Jon asked on 11 Mar 2010, 09:49 PM
We are utiltizing a RadRotator to display data from an RSS feed supplied by Sitefinity 3.7.2.

We are experiancing a caching issue in FF and IE 8 where the RadRotator appears to be caching the data from the RSS feed source. Manually going to the URL of the feed, I can verify the data is as expected. I've tried clearing browser cache, rebooting the PC, etc...

Is this a known issue?

Thanks,

-Jon

3 Answers, 1 is accepted

Sort by
0
Lini
Telerik team
answered on 15 Mar 2010, 12:34 PM
Hi Jon,

If you are binding the control to a RSS feed, then the rotator data is being retrieved on the server. The browser receives only the result so if the RSS feed is cached, it is not by the browser but by the web server. See our online example, which uses a XmlDataSource to retrieve the RSS from a Sitefinity site. If you have a different solution, try implementing it as shown in the example. If you are already using XmlDataSource, try rebinding the rotator using server code - manually retrieve the RSS using a WebRequest object and force no cache in the request headers.

All the best,
Lini
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
Jon
Top achievements
Rank 1
answered on 15 Mar 2010, 04:56 PM
Thank for the response.

I am using a XmlDataSource.

Thanks to your colleague on the Sitefinity support side, he was able to offer a solution,

<asp:XmlDataSource ID="XmlDataSource1" XPath="rss/channel/item" EnableCaching="false" runat="server" DataFile="http://localhost:4579/Blank37SP2/en/blogs.rss.ashx">  
</asp:XmlDataSource> 

The EnableCaching="false" attribute and value is needed in my siutation.

Many thanks.
0
Pooya
Top achievements
Rank 1
answered on 19 Oct 2011, 09:16 AM
Hi
How Can I Clear Rotator Cache By Click In winforms?
Tags
Rotator
Asked by
Jon
Top achievements
Rank 1
Answers by
Lini
Telerik team
Jon
Top achievements
Rank 1
Pooya
Top achievements
Rank 1
Share this question
or