We created Subinclude for exactly this purpose: http://search.cpan.org/dist/Catalyst-View-Component-SubInclude/lib/Catalyst/View/Component/SubInclude.pm
Include another bit of output from a Catalyst app via a number of methods, including ESI and SubRequests. Makes including those pieces particularly easy too, as it doesn't require you to know in your action what you'll need in your view. Jay On Dec 30, 2009, at 7:15 AM, Lars Balker Rasmussen wrote: > On Wed, Dec 30, 2009 at 2:49 PM, Peter Corlett <[email protected]> wrote: >> On 30 Dec 2009, at 10:11, Lars Balker Rasmussen wrote: >> [...] >>> >>> Definitely split sidebars etc. into separate actions. Then have nginx, >>> varnish or equiv. combine them with SSI/ESI. This also helps caching across >>> pages. >> >> Does Catalyst's built-in web server support either technology yet? If not, >> you're going to find it harder to debug your site if you use them. > > Meh, it'd be a trivial plugin to write, if nobody hasn't already. > -- > Lars Balker Rasmussen Consult::Perl > > _______________________________________________ > List: [email protected] > Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst > Searchable archive: http://www.mail-archive.com/[email protected]/ > Dev site: http://dev.catalyst.perl.org/ _______________________________________________ List: [email protected] Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
