Comment 1 for bug 274815

Revision history for this message
Markus Korn (thekorn) wrote : Re: Cached binary files aren't retrieved from cache

I think I was faced with the very same bug today, but the strange thing is: I can only reproduce this with an old cache which I've been using since two month. But when I create new cache and run a script to get hosted files twice, I don't get this error.
Please see the attached log as an example:
lines 1-54: reading me.mugshot, using the old cache => reproducing this error
lines 55-75: reading me.mugshot, using "/tmp/new_cache" as cache => works fine
lines 75-80: cache is still there
lines 81-89: reading me.mugshot, using "/tmp/new_cache" as cache => cannot reproduce error

As you can see in the last few lines of the log newly created caches of binary files have "age:"-value in the header, maybe this is a reason why this is fixed.