Is there any proper wordpress way of including the JS and CSS through one merged URL?

So that instead of loading in x number of separate calls for each JS asset, it can be all merged into one URL? Samething for CSS.

I know this is easy enough to do using straight up PHP, but I wanted to check if wordpress has some nifty way of combining requests.

4 Answers
4

WordPress core has not such a mechanism. I’ve seen Caching plugins who do this. One of them is Semiologic Cache (WordPress Pluin) and there are probably others who do this as well.

Leave a Reply

Your email address will not be published. Required fields are marked *