On 31 Oct 2010, at 08:38, Paul Flow wrote:
Hi everyone, My Catalyst app supports requests using a variety of easily typed shorthand URIs that redirect to a canonical URI. Determining the canonical from some shorthands can be expensive, but rarely if ever change, so I'm looking to cache the response (with its Status: 301, Location: ..., no body) so that subsequent requests for that shorthand get the same response pulled from cache instead of re-evaluating and re-generating the canonical and the redirect to it. I've tried to set this up with Catalyst::Plugin::PageCache.
Do you not want an actual caching reverse proxy in front of your app, such that this traffic never needs to take up an app worker when cached?
Cheers t0m
_______________________________________________ List: Catalyst@lists.scsys.co.uk Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/ Dev site: http://dev.catalyst.perl.org/