: 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.
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.
More posts by @Bryan171
1 Comments
Sorted by latest first Latest Oldest Best
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.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.