Skip to content
Fork of iElectric's MinificationWebHelpers from v0.3.6
Pull request Compare This branch is 1 commit ahead of jimf:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.


What is MinificationWebHelpers?

Consider the MinificationWebHelpers_ as an extension to WebHelpers_.

Basicly it adds two more options to the WebHelpers_ javascript_link_
and stylesheet_link_ functions:

* **minified** (bool): Minifies, ie, reduces as much as possible each of the files
  passed to it's minimum size to reduce page load times.
* **combined** (bool): Joins all files passed into a single one to reduce server
  requests which in turn reduces page load times.
* **beaker_kwargs** (dict): override default arguments that will be passed to `beaker_cache`.  `beaker_kwargs.update()` is issued on default arguments.
* **combined_filename** (string): Name of the filename that will be used in conjunction with combined=True
* **timestamp** append `time.time` timestamp to file, eg. test.js?t=123012343

For an up-to-date read of the documentation, please `read the documentation
page on site`__.

Mercurial repository is located at bitbucket.org_.

.. _MinificationWebHelpers:
.. _WebHelpers:
.. _javascript_link:
.. _stylesheet_link:
.. __:
Something went wrong with that request. Please try again.