2015-08-11

I have a backend apache/php server with nginx reverse proxy. I would like to process the output html from my backend and optimize it so it loads faster. What is the best way to do this on the fly?

Specifically I'm talking about automatic concatenation and minification. The server should also keep track of what resources it concatenates so it can serve them up properly.

With wordpress I have been able to implement this functionality using highly configurable plugins such as Autoptimize and W3Total Cache, but idealy I would like to keep the optimization layer seperate from the application since I use many different backend applications and they are not all as easy as wordpress to hook in to.

Show more