string fetch(
string
$url)
|
|
Retrieves data from cache, if it's there. If it is, but it's expired,
it performs a conditional GET to see if the data is updated. If it isn't, it down updates the modification time of the cache file and returns the data. If the cache is not there, or the remote file has been modified, it is downloaded and cached.
Parameters: