Setting GCS object's Cache-Control header should be supported in the next 
release.

On Thursday, March 19, 2015 at 8:47:11 AM UTC-7, Paul Canning wrote:
>
> I am using file_put_contents and in some cases fopen + fwrite to create 
> files in GCS.
>
> I am setting "enable_cache" to false in the stream context, yet the files 
> are being cached and hard-refreshing the page does nothing.
>
> I even added in the header "Cache-Control" => "no-cache" even though I 
> don't think it's supported yet.
>
> In GCS, it shows the file was updated, but following the public link just 
> shows a cached version.
>
> How can I force it not to cache, and to show me the latest file?
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to google-appengine+unsubscr...@googlegroups.com.
To post to this group, send email to google-appengine@googlegroups.com.
Visit this group at http://groups.google.com/group/google-appengine.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/google-appengine/7a25f0ff-f169-4772-9566-4b66c50f2b04%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to