Skip to content

quru/django-mediagenerator

 
 

Repository files navigation

Improve your user experience with fast page loads by combining, compressing, and versioning your JavaScript & CSS files and images. django-mediagenerator eliminates unnecessary HTTP requests and maximizes cache usage.

Supports App Engine, Sass, HTML5 offline manifests, Jinja2, Python/pyjs, CoffeeScript, and much more. Visit the project site for more information.

Quru fork (v1.12+)

This fork adds a modified version of pull request #11 to v1.11, to fix performance problems when MEDIA_DEV_MODE is True.

Instead of walking the file system on every request, this version uses the Watchdog package to monitor the media directories, and only walks the file system again when a change is known to have been made.

In addition for COPY_MEDIA_FILETYPES (defaults to images, icons, fonts), the file modification time is used as a hash instead of reading the file contents.

v1.13 looks for a TESTING setting when MEDIA_DEV_MODE is True, and disables the monitoring of media files when it is set.

See CHANGELOG.rst for the complete changelog.

Packages

No packages published

Languages

  • Python 92.3%
  • HTML 3.9%
  • Ruby 2.3%
  • CSS 1.5%