On Mon, Nov 2, 2009 at 15:06, Darren Pearce <[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?
>>
>> 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.
>
> I've experienced this behaviour as well. But it disappeared once I cleared
> my web browser cache so I'm guessing it's that that to blame. What Google
> could do is add No-Cache as an HTTP header for all downloads. I need to do
> the same as you for distributing our project using WebStart.
> Google> Is the lack of the No-Cache directive a relic of immutable
> downloads? Now that they can be deleted (and re-uploaded with different
> contents), this assumption no longer holds. :-)

Yes and no. It is a relic in the sense that the caching header made a
lot of sense when downloads were undeletable.

However, to our mind download deletion was intended to provide a means
for users to stop serving content that should not be online (say you
mistakenly uploaded a broken archive, or an installer infiltrated with
a malware payload). In that use case, it still makes sense to serve
with HTTP caching, since the only distinction we need to make is
between the canonical content of the URL and 404.

Unfortunately, the deletion feature has been used mostly to change the
content of an URL, which is a bad practice for a couple of reasons
(unpredictability for users being the biggest). The caching we apply
breaks this use case. And that sucks, because HTTP caching is
generally rather awesome for various reasons.

That said, yes, given how people use our featureset today, we need to
revise our caching policies. We're looking into how to do this while
preserving some of the niceties that HTTP caching gives us.

- Dave

> Thanks!
>
> :Darren.
>
> --
> ----------------------------------------------------------------------
>  :Darren :Pearce
> ----------------------------------------------------------------------
>  *** Shop & Donate: http://buy.at/campuskids ***
> ----------------------------------------------------------------------
>  [email protected]
>  Postdoctoral Researcher
>  London Knowledge Lab, University of London
> ----------------------------------------------------------------------
>  [email protected]
>  Visiting Research Fellow
>  Informatics, University of Sussex
>  http://www.informatics.sussex.ac.uk/users/darrenp/
> ----------------------------------------------------------------------
>  [email protected]
>  http://www.linkedin.com/in/darrenpearce
> ----------------------------------------------------------------------
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to