Re: PHP Mirrors

From: Date: Sun, 16 Oct 2011 19:57:44 +0000
Subject: Re: PHP Mirrors
References: 1 2 3  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-12396@lists.php.net to get a copy of this message
On Sun, Oct 16, 2011 at 19:58, Paul Dragoonis <dragoonis@gmail.com> wrote: > On Sun, Oct 16, 2011 at 1:45 PM, Hannes Magnusson <bjori@php.net> wrote: >> On Sun, Oct 16, 2011 at 19:42, Paul Dragoonis <dragoonis@gmail.com> wrote: >>> Hi guys, >>> >>> Do all of our mirrors have CURL enabled ? >>> >>> I'm pulling in these files for the new beta homepage: >>> -- http://pear.php.net/feeds/latest.rss >>> -- http://pecl.php.net/feeds/latest.rss >>> >>> and I want to cache them on the mirror for 24 hours and would prefer >>> to use something stable like CURL instead of a file_get_contents() >>> call. >> >> The mirrors in general don't have curl enabled no. >> Having a local cache file on the mirrors could also be an issue. >> Either it needs to be pre-generated, or let the browser fetch cache >> and render it? > > Can you elaborate (technically) on what you meant by "or let the > browser fetch cache and render it" Use JS to fetch the rss file, and then use an rss js reader to loop over it. -Hannes

« previous php.webmaster (#12396) next »