Mobile app version of vmapp.org
Login or Join
Bryan171

: Which is better, minified or obfuscated code? 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.

@Bryan171

Posted in: #Javascript #Jquery #Seo

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.

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Bryan171

1 Comments

Sorted by latest first Latest Oldest Best

 

@Welton855

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.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme