Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.221.180 Times

Apache::Cache 0.05

  Date Added: February 04, 2010  |  Visits: 1.072

Apache::Cache

Report Broken Link
Printer Friendly Version


Product Homepage
Download (97 downloads)



Apache::Cache is a cache data accessible between Apache childrens. SYNOPSIS use Apache::Cache qw(:status); my $cache = new Apache::Cache(default_expires_in=>"5 minutes"); # if the if the next line is called within 10 minutes, then this # will return the cache value overwise, this will return undef and the # status method will be equal to the constant EXPIRED (exported by Apache::Cache # on demande via the :status tag) # the next line try to get the data from the cache, if the data is stored in # in the cache and if it not expired, then this return the data. Otherwise # if data have never been store in the cache, or if its expired, this will # return undef and the status() method will be equal to constant EXPIRED (exported # by Apache::Cache on demand, via the :status tag) my $value = $cache->get(Key); if($cache->status eq EXPIRED) { # cant get the data from the cache, we will need to get it by the normal way # (via database, from file...) $value = get_my_data(Key); # here, the get_my_data() function is a function of your # programe that generate a fresh value # this data have to expires in 30 secondes my $expires_in = 30 secondes; $cache->set(Key => $value, $expires_in); } elsif($cache->status eq FAILURE) { # dont use cache, cache maybe busy by another child or something goes wrong $value = get_my_data(Key); } This module allows you to cache data easily through shared memory. Whithin the framework of an apache/mod_perl use, this cache is accessible from any child process. The data validity is managed in the Cache::Cache model, but as well based on time than on size or number of keys. Additionnally, you can implement a cache with Apache::Cache in your module without the risk of namespace clash because Apache::Cache is enclosed in the constructors packages caller (see Apache::SharedMem for more details)..

Requirements: No special requirements
Platforms: Linux
Keyword: Accessible Apachecache Cache Data Expired Libraries Programming Status Value
Users rating: 0/10

License: Freeware Size: 8.19 KB
USER REVIEWS
More Reviews or Write Review


APACHE::CACHE RELATED
Development Tools  -  Aluminium 0.4
Aluminium is a visual data-flow(-ish) programming language, designed for small web applications. It turned out as a visual data-flow based programming language. Aluminium was started as an effort to find a different way of...
 
Utilities  -  Hey::Cache 0.01
Hey::Cache is a Perl module to cache data multiple data structures. SYNOPSIS use Hey::Cache; my $cache = Hey::Cache->new( Namespace => 'WeatherApp2000', # string (optional, default='default') ...
10.24 KB  
Libraries  -  Cache::Cache 1.05
Cache::Cache Perl module contains the Cache interface. The Cache modules are designed to assist a developer in persisting data for a specified period of time. Often these modules are used in web applications to store data locally to save...
34.82 KB  
Database Tools  -  Cache DBA 1.1
This is a PHP script to store and retrieve cache data from flat file databases. It takes a given object and stores its serialized information as a string of data in flat file database using the DBA extension.Previously stored objects from the...
10 KB  
Libraries  -  CGI::Cache 1.4200
CGI::Cache is a Perl extension to help cache output of time-intensive CGI scripts. WARNING The interface as of version 1.01 has changed considerably and is NOT compatible with earlier versions. A smaller interface change also occurred in...
44.03 KB  
Libraries  -  CPAN::Cache 0.02
CPAN::Cache is a Perl module abstract locally-cached logical subset of a CPAN mirror. There have been any number of scripts and modules written that contain as part of their functionality some form of locally stored partial mirror of the CPAN...
21.5 KB  
Libraries  -  SOAP::Data 0.69
SOAP::Data is a Perl class that provides the means by which to explicitly manipulate and control all aspects of the way in which Perl data gets expressed as SOAP data entities. The SOAP::Data class provides the means by which to explicitly...
235.52 KB  
Libraries  -  Netscape::Cache 0.45
Netscape::Cache is a Perl object class for accessing Netscape cache files. SYNOPSIS The object oriented interface: use Netscape::Cache; $cache = new Netscape::Cache; while (defined($url = $cache->next_url)) { print $url, "n"; } while...
16.38 KB  
Libraries  -  Xephyrus Data Structures Tag Library 1.5
Xephyrus Data Structures Tag Library provides an easy way to create and manipulate the contents of common Java data-structures such as maps and lists. Whats New in This Release: - The library was polished up. - Several improvements were made...
21.5 KB  
Network & Internet  -  Apache Status Monitor 0.1
Apache Status Monitor is a desktop application that gather data from a Apache status page to plot various charts and statistics. It is written in Java and therefore should run on every plateform.
4.95 MB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 4.0.0
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB