Click to See Complete Forum and Search --> : Caching XML


scrupul0us
01-25-2007, 12:02 AM
How would i go about implementing a system such that an XML file is cached for "x" amount of time no matter how many times a user may load my page... and after "x" when a user loads it, it refreshes

Weedpacket
01-25-2007, 06:22 AM
Look at its filectime. If that's more than "x" amount of time in the past it's time for a refresh.