ability to force caching disregarding UA/server header

RaphaĆ«l <[email protected]> Sat, 21 Feb 2015 22:16:07 -0300
Newsgroups gmane.comp.web.polipo.user
Message-ID <[email protected]>
Following https://github.com/jech/polipo/issues/52


In some case, it's pretty useful while clearly off-standard, to force
caching disregarding HTTP headers: broken, misconfigured-server, testing
purposes (=B9)

An example:
user-agent send a request (with keep-alive)
server replies:

> Cache-Control: no-cache, no-store, must-revalidate
> Etag: <buggy-etag>
> Expire: <in the past>

Such requests won't be cached by polipo (relaxTransparency =3D true,
mindlesslyCacheVary =3D true, cacheIsShared =3D false)


Adding to this the ability to filter by mime-type or server-URL pattern
would be a great bonus (and not only for off-standard cases)


- Is it planned?
- If no, would a patch implementing at least the "catch-all" part be accept=
ed?



Best regards



=B9 Adding that when it comes to SSL, standalone proxies like Polipo
are really the best place to manage file inspection (better than both
browser-based developper extensions and tcpdump-like applications)

---------------------------------------------------------------------------=
---
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=3D190641631&iu=3D/4140/ostg.c=
lktrk