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

Serve concatenated/minified/compressed css

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.2.0-dev
    • Fix Version/s: 3.3.0-a1
    • Component/s: Template Engine
    • Labels:
      None

      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

              • Assignee:
                Unassigned
                Reporter:
                Hanakin Michael Miday
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: