[google-appengine] Re: Google Cloud Storage caching files despite disabling cache
enable_cache has nothing to do with the Cache-Control headers I get this. I fully understand they are two different things. Again, I tried setting both, first one, then the other, then both. In all cases my objects were being cached. On Sunday, March 22, 2015 at 2:42:15 AM UTC, Stuart Langley wrote: As Mars mentioned, enable_cache has nothing to do with the Cache-Control headers that are used when serving objects from Google Cloud Storage. If controls the read-through cache that is used internally inside of app engine. On Saturday, 21 March 2015 14:41:57 UTC-7, Paul Canning wrote: Again I understand, but it was still caching with it set to false -- 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/d937b6d0-7ea0-49e2-b511-0ce63d793a5c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Google Cloud Storage caching files despite disabling cache
Again I understand, but it was still caching with it set to false -- 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/6470ca8c-42b1-4269-9ed9-2a66f1511e42%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Google Cloud Storage caching files despite disabling cache
As Mars mentioned, enable_cache has nothing to do with the Cache-Control headers that are used when serving objects from Google Cloud Storage. If controls the read-through cache that is used internally inside of app engine. On Saturday, 21 March 2015 14:41:57 UTC-7, Paul Canning wrote: Again I understand, but it was still caching with it set to false -- 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/87396c22-1332-4c69-99f9-2296ab8ca5d7%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Google Cloud Storage caching files despite disabling cache
The setting is for caching GCS objects in memcahe to improve performance in subsequent reads from App Engine. On Thursday, March 19, 2015 at 3:45:46 PM UTC-7, Paul Canning wrote: Understood, but why is GCS caching with the current enable_cache setting set to false? Do I have to do anything specific with the way I use file_put_contents or fwrite? Should I delete the object first? -- 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/db0d997f-39fc-4c66-9fea-3470ad61d4f9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Google Cloud Storage caching files despite disabling cache
Understood, but why is GCS caching with the current enable_cache setting set to false? Do I have to do anything specific with the way I use file_put_contents or fwrite? Should I delete the object first? -- 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/296acf2b-1d53-47f7-bfdd-d3b8d7c89b00%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[google-appengine] Re: Google Cloud Storage caching files despite disabling cache
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.