summaryrefslogtreecommitdiffstats
path: root/lib/private/Template/JSCombiner.php
Commit message (Collapse)AuthorAgeFilesLines
* Properly handle if the deps file if for some reason emptyMorris Jobke2017-07-191-1/+14
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Cache deps list to memcache on write not on first readRoeland Jago Douma2017-05-161-2/+4
| | | | | | | | | | Fixes #4886 Caching on first read leads to the bug that if the files are updated we will never cache again. Since we will always fetch from the memcache (which works) and then see that the files are newer. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #4131 from nextcloud/fix-jscombinerChristoph Wurst2017-04-031-1/+1
|\ | | | | Fix check for cache value in JSCombiner
| * Fix check for cache value in JSCombinerMorris Jobke2017-03-281-1/+1
| | | | | | | | | | | | | | | | | | * fixes following log output, because there was empty string stored in the cache Invalid argument supplied for foreach() at lib/private/Template/JSCombiner.php#108 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fix gzip files for SafariMorris Jobke2017-03-291-2/+2
|/ | | | | | | * Safari support gzip only if the filename does not end on .gz - so this renames them to .gzip Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow to gzip CSS/JS filesRoeland Jago Douma2017-03-281-0/+7
| | | | | | | | | | 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>
* Don't run JSCombiner when not installedLukas Reschke2017-03-251-3/+6
| | | | | | When the instance is not installed don't run the JSCombiner as the appdata folder does not yet exist. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Add debug modeRoeland Jago Douma2017-03-241-1/+31
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add cachingRoeland Jago Douma2017-03-241-6/+42
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* [PoC] JS CombinerRoeland Jago Douma2017-03-241-0/+133
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>