Reputation: 455
I implemented an application that are fed from an XML stream. The XML feed changes every once daily.
I want to know if I can meter the xml file caching for one day for each round has not questioned the service that provided the xml But every day at midnight I want it retrieves the new version of XML
cordially
Upvotes: 2
Views: 116
Reputation: 1530
You can save the xml on card and replace it every 24 hours (use filelastModified()
to get last time the file was modified)
Upvotes: 1