0

I am using W3 Total Cache, but when adding the stylesheets and scripts to cache I am not entirely sure whether I should remove those scripts from my functions.php enqueue list or not.

Also a small additional question. Is it a good idea to add Google Fonts to the cache and minify them?

1
  • 1
    No, you should not remove them, as far as google fonts go, I'm not quite sure, haven't tried that yet. :-) Commented Apr 23, 2015 at 10:47

1 Answer 1

0

There is no need to deque CSS files and JS files from functions.php as W3Total Cache can be configured to combine all CSS files into one and later it in minified.However you must keep in mind that all CSS and JS files are combined serially(one after another , so you load them as per your theme requirements) and then minified into one.

Google fonts are not served from your own server,so, you can't really minify and concatenate it.Also, Googles font servers are probably faster than if you'd host the fonts yourself.

Not the answer you're looking for? Browse other questions tagged or ask your own question.