I have uploaded file to google cloud storage via their php API
I am trying to use following code now to access it back.
$bucket = $storage->bucket('my-bucket');
$object = $bucket->object('filename.json');
$string = $object->downloadAsString();
echo $string;
I am just trying to retrieve a json , But problem is its getting cached and keep giving me old file which I modified 30 mins back.
How to disable Cache ? While using downloadAsString ?something like
https://storage.googleapis.com/my-bucket/filename.json?id=randomtimestamp
P.s: I know Disabling cache while uploading json will work, but I just want to disable cache in few of my php scripts.