I have a news ticker in web user control with news from different urls, the urls are passed to user control by a public property named Feed in the user control. I am using this user control in master page, I don't want it to be refreshed when ever content page is requested. So, I thought of caching, I tried it but, in the page load of my master.cs where I call this user control with some urls set to the Feed Property of the User Control, an exception is raised, the null reference,
I tried httpresponse.clearcacheitem(path), but still the control is null, I came to know that, the controls in the cache would be null,
But, my requirement is to refresh the cache based on the property , if the urls(WWW) in the 'Feed' property changes the cache should get refreshed, if not,the cached version has to be used with much delay in loading the page.
any suggestion is appreciated.
I can't use file dependency,