[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] CAB OVL (?)
> -----Original Message-----
> From: mint-bounce@lists.fishpool.fi
> [mailto:mint-bounce@lists.fishpool.fi]On Behalf Of Maurits van de Kamp
> > choosen URL. Clicking the "Back" button gives strange results: the most
> > often is just "Error 404", but I've also seen a message like "302 -
> > FOUND" (and nothing happens after that).
>
> I can give you more precise information about that bug, but I have no idea
> how to solve it. :) The problem is that cab's cache handling is extremely
> buggy. I'm not sure if the ovl or the app is the problem.
>
> There are two bugs causing this problem together:
>
> 1. Most of the pages you visit, aren't kept in the cache at all, but
> thrown out immediately after display.
In fact my experience is just the opposite. CAB doesn't ever see the HTTP
headers associated with a document, so it never sees the Cache-Control or
Pragmas that turn caching on or off. So CAB always caches files, even when
they should not be cached. This is certainly a bug. There is no indication
that you're seeing an out-of-date file, so you just have to hit reload when
you suspect something is wrong.
The current bug is that the OVL is overwriting a file that it should not
have touched when it processes a redirect. I have just fixed this and am
testing it out right now. Unfortunately there seems to still be a bug with
CAB and redirects. Not sure what the deal is yet.
-- Howard Chu
Chief Architect, Symas Corp. Director, Highland Sun
http://www.symas.com http://highlandsun.com/hyc
Symas: Premier OpenSource Development and Support