Skip to content

Re-consider compressing assets using cssmin/jsmin #613

@jelly

Description

@jelly

The configuration needs to be updated to:

-# Static files backend that allows us to use far future Expires headers
-STATICFILES_STORAGE = 'main.storage.MinifiedStaticFilesStorage'
+STORAGES = {
+    "default": {
+        "BACKEND": "django.core.files.storage.FileSystemStorage",
+    },
+    "staticfiles": {
+        "BACKEND": 'main.storage.MinifiedStaticFilesStorage'
+    },
+}

Then we should consider if we keep this and revive cssmin support with rcssmin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions