I’m confused between the two. Which is better, especially for jQuery and JS? Also, which do you think is more SEO-friendly? Note: I’m a noob.
feedback
|
migrated from stackoverflow.com Dec 16 '11 at 8:36
This question came from our site for professional and enthusiast programmers.
|
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 loadspeed, and if you are including 15 javascript files and 20 stylesheets, your site gets slow and therefore looses 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. | ||||
|
feedback
|
|
If you minify your js, your page loads faster and that matters for SEO. | |||
|
feedback
|