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
Gungho::Component::Cache(3) User Contributed Perl Documentation Gungho::Component::Cache(3)

Gungho::Component::Cache - Use Cache In Your App

  components:
    - Cache
  cache:
    default_backend: small_things
    backends:
      large_things:
        module: '+Cache::Memcached::Managed',
        data: '127.0.0.1:11211'
      small_things:
        module: '+Cache::Memcached::Managed',
        data: '127.0.0.1:11212'

This component allows you to setup cache(s) in your crawler application.

To use, simply specify the cache backends that you want to use via cache.backends, and then wherever in your app you can say:

  my $cache = $c->cache($name);

Setup the cache.

Returns the appropriate cache object from the specified backends.

If you omit $name, then the cache backend specified by the "default_backend" configuration option.

If $name is omitted and no "default_backend" is specified, then this method will croak.

2007-11-27 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.