Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

CSS and Javascript Minification/Combination Upgrade to WebHelpers

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for MinificationWebHelpers, version 0.3.6
Filename, size File type Python version Upload date Hashes
Filename, size MinificationWebHelpers-0.3.6-py2.6.egg (17.6 kB) File type Egg Python version 2.6 Upload date Hashes View hashes
Filename, size MinificationWebHelpers-0.3.6.tar.bz2 (7.8 kB) File type Source Python version None Upload date Hashes View hashes
Filename, size MinificationWebHelpers-0.3.6.zip (11.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page