Because the environment to compress js,css offline, it is impossible to use the online compression function of the network,
So I want to find a PHP class to compress JS or CSS,
GitHub did not find particularly good, so want to ask everyone, hope to recommend, thank you!
Reply content:
Because the environment to compress js,css offline, it is impossible to use the online compression function of the network,
So I want to find a PHP class to compress JS or CSS,
GitHub did not find particularly good, so want to ask everyone, hope to recommend, thank you!
Https://gist.github.com/tovic ...
Yes, you can search for it, but mostly it's a simple piece of code or not very maintainable.
Using node is a good solution if the environment is to be compressed offline. After all, it is the mainstream compression scheme.
Css-js-booster
Https://github.com/Schepp/CSS ...
The front end can be solved directly with webpack or gulp
If you bother to find an online compressed web site to submit the time from their compression interface over the finished