Jifty::CAS.3pm

Langue: en

Autres versions - même langue

Version: 2008-04-08 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Jifty::CAS - Jifty's Content-addressable storage facility

SYNOPSIS

   my $key = Jifty::CAS->publish('js' => 'all', $content,
                       { hash_with => $content, # default behaviour
                         content_type => 'application/x-javascript',
                         deflate => 1
                       });
 
   $ie_key = Jifty::CAS->publish('js' => 'ie-only', $ie_content,
                       { hash_with => $ie_content,
                         content_type => 'application/x-javascript',
                       });
 
   $key = Jifty::CAS->key('js', 'ie-only');
   my $blob = Jifty::CAS->retrieve('js', $key);
 
 

DESCRIPTION