Im confused between the two. Which is better, especially for jQuery and JS? Also, which do you think is more SEO-friendly? Note: Im a noob.
Which is better, minified or obfuscated code?
javascript;jquery;seo
None of them. It will not be indexed (only in obscure odd cases).Minifying JS is about loading speed and obfuscating JS is for making it harder for other developers to read your code.Google does however rank your website based on load speed, and if you are including 15 JavaScript files and 20 stylesheets, your site gets slow and therefore loses rank. Therefore it's a great idea to combine these 15 JavaScript files into one and minify it, to minimize the loading speed.This is because most user-agents (e.g. browsers) can only make 2 simultaneous requests on the same domain.