Name : perl-Catalyst-Plugin-Static-Simple
| |
Version : 0.33
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 1.1
| Date : 2017-03-13 19:29:20
|
Group : Development/Libraries/Perl
| Source RPM : perl-Catalyst-Plugin-Static-Simple-0.33-1.1.src.rpm
|
Size : 0.03 MB
| |
Packager : (none)
| |
Summary : Make serving static pages painless
|
Description :
The Static::Simple plugin is designed to make serving static content in your application during development quick and easy, without requiring a single line of code from you.
This plugin detects static files by looking at the file extension in the URL (such as *.css* or *.png* or *.js*). The plugin uses the lightweight the MIME::Types manpage module to map file extensions to IANA-registered MIME types, and will serve your static files with the correct MIME type directly to the browser, without being processed through Catalyst.
Note that actions mapped to paths using periods (.) will still operate properly.
If the plugin can not find the file, the request is dispatched to your application instead. This means you are responsible for generating a \'404\' error if your applicaton can not process the request:
/images/exists.png
/images/does_not_exist.png
Though Static::Simple is designed to work out-of-the-box, you can tweak the operation by adding various configuration options. In a production environment, you will probably want to use your webserver to deliver static content; for an example see the USING WITH APACHE manpage, below.
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl/SLE_12_SP1/noarch |
Hmm ... It's impossible ;-) This RPM doesn't exist on any FTP server
Provides :
perl(Catalyst::Plugin::Static::Simple)
perl-Catalyst-Plugin-Static-Simple
Requires :