XML reader and Data updating, Timestamp

Shad5622

New Member
As an experiment, By following some tutorials I created a Twitter reader application with refresh button. Everything works fine and when I hit refresh button application refreshes the list without any problem.Then I copied the same XML file (http://search.twitter.com/search.atom?rpp=25&&q=%23WP7) from twitter.com and Uploaded it to my server. At the beginning application works fine and reads the feed from my server but Refresh button doesn't work Although I update the XML with some entry changes. I was planning to host some XML files in my server for my Application by using the same Twitter app. But I couldn't understand the reason of this problem. What am I missing? Do I need to give some permissions to files in my hosting or maybe changes in Cpanel?SolutionWhen I add the following code into htaccess file in my server, Everything worked very well.\[code\]<FilesMatch "\.(html|htm|xml|txt|xsl|atom)$"> Header set Cache-Control "max-age=15, must-revalidate"</FilesMatch>\[/code\]
 
Top