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


Manual Reference Pages  -  PLACK::MIDDLEWARE::JSCONCAT (3)

.ds Aq ’

NAME

Plack::Middleware::JSConcat - Concatenate javascripts

CONTENTS

SYNOPSIS



  # in app.psgi
  use Plack::Builder;

  builder {
      enable "JSConcat",
          files => [<static/js/*.js>],
          filter => /usr/local/bin/jsmin;
      $app;
  };

  # use $env{psgix.jsconcat.url} to include javascript.



DESCRIPTION

Plack::Middleware::JSConcat allows you to concatenate multiple javascripts files into one. It provides a content-hashed key as the url for including all the javascript files you specified. You can also provide a filter program to minimize the concatenated file.

CONFIGURATIONS

files
filter

AUTHOR

Chia-liang Kao <clkao@clkao.org>

SEE ALSO

Plack

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 PLACK::MIDDLEWARE::JSCONCAT (3) 2009-11-13

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.