Browse Source
Allow to gzip CSS/JS files
Allow to gzip CSS/JS files
Since in production the SCSS files are compiled once and the javascript files are combined once we can just as well gzip them aggresively. This means that once they are requested and the browser supports gzip we can just serve the gzipped file saving precious bandwidth. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>pull/4070/head
No known key found for this signature in database
GPG Key ID: F941078878347C0C
4 changed files with 77 additions and 5 deletions
-
32core/Controller/CssController.php
-
32core/Controller/JsController.php
-
7lib/private/Template/JSCombiner.php
-
11lib/private/Template/SCSSCacher.php
Write
Preview
Loading…
Cancel
Save
Reference in new issue