
Hi,
Thanks, I've poked around there before but not yet invested the time to study how it all fits together. I hadn't discovered the developer docs the first time though (I assumed there was only the info that's in doc/). Well, I'm still not sure if there are any docs covering the network-related code...
There are not many, but you can find some in devdoc/. I should add them somehow to the website as well. Essentially the cache keeps a list of entries for connections in progress. When data is received, the callback for that entry is called to forward the data. But when a redirect is received, currently Dillo navigates to the new URL, as if you typed it in the location bar. What we need to support first is to allow the cache to fetch the new URL instead of changing the root URL of the current document. I believe we can do this by adding a new entry to the cache with the new URL and copying the callback and other related data, or simply reusing the same entry while we update the URL. I took a look at the time but I wasn't able to come up with a quick solution so I didn't look further. I will eventually take a look at it, but feel free to poke with the cache code in the meanwhile. Best, Rodrigo.