Re: [Rabbit-proxy-users] Caching for offline browsing
Brought to you by:
ernimril
From: Robert O. <ro...@kh...> - 2006-04-16 11:18:11
|
Michael Vorburger wrote: > How could we get RabbIT to cache all visited pages for this purpose, > even if the server (or upstream proxy) say they can/should not?? Write a filter and install it first in httpinfilters and httpoutfilters, have that filter remove/modify all expires-headers (and possibly other headers as well). Check the interface HttpFilter and implement it, then configure your new filter in and see it work. Note order of filter is important. Maybe you want to check what wwwoffle does. As stated, doing this is not in the original goal of rabbit. Note however that I want rabbit to be modular and make it easy to implement other proxy solutions with it. > Based on that base functionality (which, to be honest, I was hoping to > find, not implement), I guess you will have to implement it, the coding part is easy, the hard part will be to test it. > I am thinking about some extensions, such as > "queuing" requests for not-yet-cached pages requested during offline > operation, then "batch-prefetching" when online, and some more ideas > in that direction... interested? Not sure how you want them to work, but of course interested. > I at first kept trying all sorts of things with http://localhost:9666/ > until I realized that it had to be http://MYMACHINENAME:9666 A well know request. Some day I will fix that. > minor really, the LogRotator link on top goes "Couldnt find > class:rabbit.meta.LogRotator, java.lang.ClassNotFoundException: > rabbit.meta.LogRotator" Fixed in 3.1 > and Config says "File 'config\index.html' not > found." (All this was on Rabbit 3.0.) Removed in 3.1, the config part is not as easy to get working so it is removed for now. /robo |