Consider all content stale?

David Ventura <[email protected]> Thu, 17 Jul 2014 18:04:47 -0300
Newsgroups gmane.comp.web.polipo.user
Message-ID <CA+UPfZ4o1CgC2aQiYYrDhyd-k4BW7mex_NK=93-FHRnovVmnEQ@mail.gmail.com>
Hi,

I'm developing a program that runs on a cron every 15 minutes, checking for
changes in over 400 pages.
I'd like to avoid as many requests as possible, by checking the
'If-modified-since' header or something similar, but I want to check the
header every 15 minutes, I don't want the 1-hour old content to be
considered fresh.

Will polipo behave as I want if I set the duration of the 'freshness' to
something below 15 minutes?
(Check all pages for a 302 or 200 status code, refresh if necessary, never
consider content to be 'fresh enough' to avoid checking)


Thanks,
David

-- 
We need only a little more code,and little more money,and little more time,
and little more sleep but the world needs a lot more freedom

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds

_______________________________________________
Polipo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/polipo-users