Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
0 votes
594 views
in Q2A Core by
Thought it is worth pointing out that typewriter CMS has an option to merge / compact all JS files into one, same for CSS: http://www.typesettercms.com/

See open source repo for the code: https://github.com/Typesetter/Typesetter

Hope to see something like this in q2a in the future.
Q2A version: 1.7.4

1 Answer

+2 votes
by
Yes this is something I've considered before. Though it's not necessarily a guaranteed win, processing the request with PHP could end up slower than just serving static files from the server directly. Will have to test and see.
by
I am pretty sure he is caching the files.
by
Even with caching, serving a file through PHP will always be slower than serving the same file through the filesystem. It depends how much we save by concatenating the files into one.
by
...