How would I go about combining multiple CSS files and concatenating my scripts if they’re being enqueued as WordPress recommends? My site is pretty slow and would like to optimize for performance.
Leave a Reply
You must be logged in to post a comment.
WordPress doesn’t really offer this functionality. You basically grab the array of enqueued scripts + styles and minify & concatenating them before they are output (using 3rd party script), of course you would want to cache this as well. This is quite complicated so I suggest instead:
mod_pagespeed