July 5, 201115 yr How can I do this? Simply take the code from each file and manually place it into one file? Or this there another more technical way?
July 5, 201115 yr Pretty much do it manually, unless you have gallons of JS (in which you need to reevaluate the js usage).
July 5, 201115 yr Copy and pasting should work fine.... ...or alternatively have a look at this http://gonzalo123.wordpress.com/2011/02/21/speed-up-page-page-load-combining-javascript-files-with-php/ i haven't tried it myself so i can't vouch for it!
July 5, 201115 yr Author Pretty much do it manually, unless you have gallons of JS (in which you need to reevaluate the js usage). Thanks, nah not loads, just reducing the amount of 'on-page' code a bit. Copy and pasting should work fine.... ...or alternatively have a look at this http://gonzalo123.wordpress.com/2011/02/21/speed-up-page-page-load-combining-javascript-files-with-php/ i haven't tried it myself so i can't vouch for it! Thanks, will give that a peak in a bit. Depends. There's this for WordPress. Ta. Wordpress has been dumped for this particular site though.
July 13, 201115 yr Author Minify is really good for this - does CSS as well. Ok, so have downloaded minify - now I'm scared!! Before I downloaded it I had decided to chuck all the JS files in to one file, rename it and upload it. This works just fine but would the minify option be a better/safer/faster loading way to do things?
Create an account or sign in to comment