SqueakMap cache explained somewhat (Re: [squeak-dev] Cleaning up SqueakMap)

Göran Krampe goran at krampe.se
Fri May 14 20:10:15 UTC 2010


Hi!

On 05/14/2010 09:32 PM, Chris Muller wrote:
>> ...since the purpose of the cache is to actually *help* when a URL goes
>> bad/offline etc, it would otherwise be quite pointless and indeed a major
>> bug.
>
> Thanks for that explanation.  After all those years of using SM and
> pulling my hair due to forgetting about the "cache bug", I finally
> know what the motivation for it was..
>
> I suppose my only suggestion would be, then, that we change SM to
> always remove the cache entry and re-download the file and recompute
> the hash when a release is updated, even if the URL did not change.
> The purpose of the cache is trying to keep the *contents* of the
> downloaded file correct and preserved for us, so those *contents*
> should be updated in the cache when the release is updated by the
> author, wouldn't you say?

Sounds fair to me. :) We could even add a button somewhere saying 
"Repopulate cache" or something perhaps slightly more explanatory.

regards, Göran



More information about the Squeak-dev mailing list