On Mon, Nov 2, 2009 at 09:08, mp3geek <[email protected]> wrote: > When uploading a existing file (with the same file name) it seems to > cache the old version everytime, is there a way to stop that from > happening?
Downloads are, by and large, meant to be immutable. It is good to have a stable URL for software releases. With this use case in mind, we serve files with HTTP caching headers set to cache the download, so as to play nicely with caching proxies along the way. This has the unfortunate side-effect that when you change the content, the old content is likely to be served by caching proxies for a while after the change. Looking at your project, it seems that you are trying to use Google Code as a generic file host for adblock blocklists. Aside from this use case being a violation of our ToS (we are not a generic file host, this is not an open source project), it is indeed pretty much the worst case scenario for you, since you presumably want to change the files constantly, whereas our downloads service will serve the files with the assumption that the content has a very long lifetime. Yes, this is suboptimal given that we allow download deletion, which opens the door to the practice of changing the content of a download URL (which we discourage for non-technical reasons, release files should be immutable). We are aware of this and are looking into ways of making this suck less while still being HTTP cache friendly. - Dave > Basically I'm deleting an exisitng file, replacing with changed > contents under the same filename, yet when I try and download it its > the old version not the newly uploaded version. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Hosting at Google Code" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/google-code-hosting?hl=en -~----------~----~----~----~------~----~------~--~---

