How to combine js files and cs files
-
Hi all,
Firstly, let me say how grateful I am for such a fantastic mod to WP. Cudos to everyone involved.
I want to be able to combine all js, and css (separately) for page load speed reasons.
The result will look something like
script src=”/combine.php?type=javascript&files=/path-to-file-1.js,/path-to-file-2.js,/path-to-file-3.js,/path-to-file-4.js,” type=”text/javascript”></script
Css much the same.
What do I need to modify (I assume in class.wp-scritps.php ?) in order to achieve this.
Currently I have 30 odd calls to css and js, and this is hurting useablility.
Many thanks.
- The topic ‘How to combine js files and cs files’ is closed to new replies.