Closed tooblue closed 8 years ago
e47a12fbc0736154c3239d3c382deca890d5368d
Added the following options to config.ini:
;Static CSS Files
;ASSETS.css[0] = assets/css/style.css
;Static JS Files
;ASSETS.js[0] = assets/js/scripts.js
Example implementations:
<link rel="stylesheet" href="{{ @tcguri }}minify/css?files=app/themes/{{ @theme }}/assets/css/admin-style.css{{ ( isset(@ASSETS.css) && !empty(@ASSETS.css) ) ? ',' . implode(',',@ASSETS.css) : '' }}">
<script src="{{ @tcguri }}minify/js?files=app/themes/{{ @theme }}/assets/js/scripts.js{{ ( isset(@ASSETS.js) && !empty(@ASSETS.js) ) ? ',' . implode(',',@ASSETS.js) : '' }}"></script>
Implement F3 minify and cache utilities.
http://fatfreeframework.com/optimization http://fatfreeframework.com/web#minify