On 22/07/14 02:05, Paul Wise wrote: > On Tue, Jul 22, 2014 at 2:50 AM, Daniel Lintott wrote: > >> Okay... It took a bit of thinking of how to work it, but I've come up >> with a working solution that caches the file list for each project >> requested. > > There was some discussion on IRC about the problem and a caching proxy > was suggested instead: > > sf rss <= rss to html converter <= caching proxy <= uscan > > Thinking about it some more, caching the output makes more sense than > caching filenames and using a HTTP caching proxy is the usual way to > cache HTML/websites so it might be best to just do that. > > Thoughts? > I would say that seems like a sensible suggestion. Using a ready-made system for the caching obviously has major benefits of being well-established and supported. Personally I've never used or setup such a service, but there are several available: nginx[1]; trafficserver[2]; haproxy[3] [1] https://packages.debian.org/wheezy/nginx [2] https://packages.debian.org/wheezy/trafficserver [3] https://packages.debian.org/wheezy-backports/haproxy I shall drop another version of the patch to the bug report that reverts the custom caching mechanism. Regards Daniel
Attachment:
signature.asc
Description: OpenPGP digital signature