I am trying to find out file size of an url:
$url1 = \'www.google.com\'; $curl1 = curl_init(); curl_setopt($curl1, CURLOPT_URL, $url1); curl_setopt($curl1, CURL
The best way to avoid caching is applying the time or any other random element to the url, like this: $url .= '?ts=' . time();
$url .= '?ts=' . time();
so for example instead of having http://example.com/content.php you would have http://example.com/content.php?ts=1212434353
http://example.com/content.php
http://example.com/content.php?ts=1212434353