Re: [squid-users] beginner question.

From: Matus UHLAR - fantomas <uhlar@dont-contact.us>
Date: Fri, 23 Jun 2006 15:21:29 +0200

On 23.06.06 09:44, Matthieu Cambounet wrote:
> I'm trying to setup squid to automatically cache this file : http://
> www.apple.com/trailers/home/xml/current.xml and also to cache the
> files linked into this xml file :
>
> <movieinfo id="1705">
> ......
> <poster>
> <location>http://images.apple.com/moviesxml/s/
> universal/posters/youmeanddupree_l200601201255.jpg</location>
> </poster>
> <preview>
> <large>http://movies.apple.com/movies/universal/
> youmeanddupree/youmeanddupree-tlr2_v640.mov</large>
> </preview>
> </movieinfo>
>
> I guess I can use the refresh_pattern to keep the xml file up to
> date but I would like to force the update of all files as well. I
> have been looking the doc and faq but I haven't find anything I can
> follow

I am afraid you can not force squid to cache anything. You can set up
crontab script where wget (or something else) fetches the XML file with
one-level recursion, without forcing squid to re-fetch existing data.

-- 
Matus UHLAR - fantomas, uhlar@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Remember half the people you know are below average. 
Received on Fri Jun 23 2006 - 07:21:32 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Jul 01 2006 - 12:00:02 MDT