Skip to content

Re-consider compressing assets using cssmin/jsmin #613

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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