google-cloud-node icon indicating copy to clipboard operation
google-cloud-node copied to clipboard

Invalidating cache programatically?

Open ohad-bpal opened this issue 9 years ago • 5 comments

It could be great if my cache was invalidated after each production deploy. Any idea as to how to achieve that?

ohad-bpal avatar Feb 09 '17 20:02 ohad-bpal

What type of cache?

stephenplusplus avatar Feb 09 '17 20:02 stephenplusplus

Suppose I have bundle.js which I push to a CDN bucket on every weekly deploy. However incase I pushed a bug I'd like to immediately push a fix and invalidate the cache of the infected file. On Thu, 9 Feb 2017 at 22:19 Stephen Sawchuk [email protected] wrote:

What type of cache?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GoogleCloudPlatform/google-cloud-node/issues/1978#issuecomment-278760670, or mute the thread https://github.com/notifications/unsubscribe-auth/AX3wR2zltjHwSH_xHzIFT-5mLzC1SCpuks5ra3S7gaJpZM4L8ncY .

-- [image: photo] Ohad Navon Founder & CEO, BrainPal +972547706602 | brainpal.io | Tel Aviv http://www.facebook.com/ohad.navon.92 http://www.linkedin.com/in/ohad-navon-639b356a http://twitter.com/OhadNavon

ohad-bpal avatar Feb 09 '17 20:02 ohad-bpal

This is the repo for a Node.js client library for accessing Google APIs. I'm not sure which Google product or service your feature pertains to, possibly App or Compute Engine?

stephenplusplus avatar Feb 09 '17 20:02 stephenplusplus

I was wondering whether you can programmatically invalidate the cache of a file in Google Storage. i.e. is there a Node.js Google API that enables this :)

On Thu, Feb 9, 2017 at 10:30 PM Stephen Sawchuk [email protected] wrote:

This is the repo for a Node.js client library for accessing Google APIs. I'm not sure which Google product or service your feature pertains to, possibly App or Compute Engine?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/GoogleCloudPlatform/google-cloud-node/issues/1978#issuecomment-278764033, or mute the thread https://github.com/notifications/unsubscribe-auth/AX3wR08yy-bvcFAGbYDUFZo9XvAtAM72ks5ra3d6gaJpZM4L8ncY .

-- [image: photo] Ohad Navon Founder & CEO, BrainPal +972547706602 | brainpal.io | Tel Aviv http://www.facebook.com/ohad.navon.92 http://www.linkedin.com/in/ohad-navon-639b356a http://twitter.com/OhadNavon

ohad-bpal avatar Feb 09 '17 23:02 ohad-bpal

Our API will let you set the metadata of an object (referred to as a File here), as well as upload new files. For any advice on how to manage the cache for your app, feel free to ask on StackOverflow-- this tracker is just for if you run into bugs with our API.

stephenplusplus avatar Feb 10 '17 18:02 stephenplusplus