Source

MinificationWebHelpers /

Filename Size Date modified Message
docs
minwebhelpers
tests
423 B
1.4 KB
188 B
611 B

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

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

Mercurial repository is located at bitbucket.org.