Commit Graph

3 Commits

Author SHA1 Message Date
Jelle van der Waa
954248c1ec main: jsmin/cssmin wants a str instead of bytes 2019-01-21 21:19:58 +01:00
Johannes Löthberg
48ff9f907a main/storage: Switch from Cached to ManifestStaticFilesStorage
Django explicitly recommends against using CachedStaticFilesStorage,
partially because it performs worse.  It also breaks our tests with our
Minified subclassing of it.

Signed-off-by: Johannes Löthberg <johannes@kyriasis.com>
2018-04-08 12:51:19 +02:00
Dan McGee
8d79a1ea84 Minify static files when running collectstatic
This doesn't do any super optimizations, but does run the very basic
cssmin and jsmin Python tools over the static resources we serve up.

Signed-off-by: Dan McGee <dan@archlinux.org>
2013-02-08 21:03:52 -06:00