Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-14149

Serve concatenated/minified/compressed css

    XMLWordPrintable

Details

    Description

      There are countless reasons to stop serving a static css file using the @import statement. But because It drastically improves performance & allows us to run diagnostics on the theme is enough in my book.

      We need some sort of way to merge/minify/compress the css that we serve on the fly. It should do this based on some sort of check of a db field with some sort of unique hash or maybe a timestamp.

      Or we need to ship a merged and merged/minified version rather than one using @import.

      I would also suggest that we split out the cp file as its own include for just those pages somehow.

      Open to suggestions.

      We should really consider extending this to the JS at some time as well, but the focus should be on the css which is more important.

      Disscussion: https://area51.phpbb.com/phpBB/viewtopic.php?f=81&t=45669

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              Hanakin Hanakin
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: