V
V
Vista2016-06-10 18:41:33
symfony
Vista, 2016-06-10 18:41:33

How to merge, minify and cache CSS/JS files?

Hello,
There was a need to write a feature for minifying files. What is the best way to do this procedure?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
D
DuD, 2016-06-10
@DuD

gulp

Макс, 2016-06-10
@AloneCoder

Взять gulp/grunt

M
Mikhail Osher, 2016-06-10
@miraage

webpack/gulp

Александр Таратин, 2016-06-10
@Taraflex

Если на чистом php, то самые популярные на github
https://github.com/mrclay/minify
https://github.com/matthiasmullie/minify

Алексей Скобкин, 2016-06-11
@skobkin

Для Symfony есть Assetic. Можно использовать его и UglifyJS.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question