=head1 VERSION
-Version 0.09
+Version 0.11
=cut
-our $VERSION = '0.10';
+our $VERSION = '0.11';
$VERSION = eval $VERSION;
=head1 SYNOPSIS
It's built in an extensible way so that you're free to use sub-requests,
Varnish ESI (L<http://www.catalystframework.org/calendar/2008/17>) or any other
-sub-include plugin you might want to implement. An LWP plugin seems useful and
-might be developed in the future. If you need to address a resource by it's
-public path (i.e. the path part trailing C<http://example.com/myapp> then you
-will need to use L<Catalyst::Plugin::SubRequest> directly, and not this
-component.
+sub-include plugin you might want to implement.
=head1 STASH FUNCTIONS
view's configuration options (either in the config file or in the view module
itself).
-Configuration file example:
+ __PACKAGE__->config(
+ subinclude_plugin => 'ESI',
+ subinclude => {
+ 'SubRequest' => {
+ keep_stash => 1,
+ },
+ 'HTTP::POST' => {
+ class => 'HTTP',
+ http_method => 'POST',
+ ua_timeout => '10',
+ uri_map => {
+ '/foo/' => 'http://www.foo.com/',
+ },
+ },
+ },
+ );
- <View::TT>
- subinclude_plugin ESI
- </View::TT>
+You can change each plugins' configuration through the keys in the 'subinclude'
+config key (example above)
=head2 C<set_subinclude_plugin( $plugin )>
Tomas Doran (t0m) C<< <bobtfish@bobtfish.net >>.
+Vladimir Timofeev, C<< <vovkasm at gmail.com> >>.
+
Wallace Reis (wreis) C<< <wreis@cpan.org> >>.
=head1 SPONSORSHIP