Enqueueing JS scripts separately vs concatenating?
-
In theme development, what’s the best practice for enqueueing scripts individually vs concatenating scripts into one file to avoid multiple HTTP requests? Enqueueing the scripts individually does allow for them to be dequeued if necessary, but at the cost of larger file size and more HTTP requests. Any thoughts?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Enqueueing JS scripts separately vs concatenating?’ is closed to new replies.