GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Gantry::Plugins::Cache(3) User Contributed Perl Documentation Gantry::Plugins::Cache(3)

Gantry::Plugins::Cache - A Plugin for initializing cache processing

In Apache Perl startup or app.cgi or app.server:

    <Perl>
        # ...
        use MyApp qw{ -Engine=CGI -TemplateEngine=TT Cache::FastMap };
        
        # or
        use MyApp qw{ -Engine=CGI -TemplateEngine=TT Cache::Memcached };
        
    </Perl>

The purpose of the plugin is to initalize cache processing for the application. Caching process should only be started once and this module is an attempt to do so at the beginning of session processing. This module should be placed after the -TemplateEngine selection and before any other plugins.

Note that you must include Cache in the list of imported items when you use your base app module (the one whose location is app_rootp). Failure to do so will cause errors.

The following items can be set by configuration:

There is no configuration for this module. Which caching system used, depends on which module from Gantry::Cache is included in the base module for the application. If no caching modules are include an error will result.

get_callbacks
For use by Gantry.pm. Registers the callbacks needed for cache management during the PerlHandler Apache phase or its moral equivalent.

initialize
Callback to initialize plugin configuration.

    Gantry

Kevin L. Esteb <kesteb@wsipc.org>

Copyright (C) 2007 Kevin L. Esteb

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.6 or, at your option, any later version of Perl 5 you may have available.

2022-04-07 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.