The CGI-App plugin is a caching interface for CHI that provides advanced caching capabilities for web applications. With this software, developers can optimize caching to improve application performance and reduce load times.
cache_default is used to designate a named cache as the default cache. Use this method if you want $self->cache() to return the same as $self->cache('foobar').
The cache method instantiates and returns a cache which you have previously configured. You can pass the name of a cache as an argument to this method. rmcache is similar to cache but sets the cache's namespace to a concatenation of the current class's name and the current runmode. This feature allows you to store per-runmode data that you don't want crashing into other runmodes.
You can also use rmcache with zero arguments to get the default cache with a namespace set. Note that if you have set a namespace when you called cache_config, using rmcache will override it.
In the SYNOPSIS section, you can see how to use these methods in a web application. Use the cache method to set and get values from the cache. Use cache_config to configure the cache, and use rmcache to set a namespaced cache.
Overall, if you're looking for a module to manage your caching, CGI::Application::Plugin::CHI is a powerful and flexible option. It will help your web application run faster and smoother.
Version 0.01: N/A