6 Tips for optimizing your website with JavaScript

Опубликовано: 17 Май 2022
на канале: Google Search Central
14,232
380

JavaScript is commonly used to build modern websites to create richer, more engaging experiences for users. It’s also a common source for website performance issues. In this episode of Ecommerce Essentials, Alan Kent - Developer Relations Engineer - speaks to six tips related to JavaScript libraries and frameworks that can help improve your ecommerce site.

Chapters:
0:00 - 1:58 Intro
1:58 - 3:55 Tip #1: Avoid JavaScript file proliferation
3:55 - 5:11 Tip #2: Avoid excessive DNS lookups
5:11 - 6:48 Tip #3: Eliminate inefficient JavaScript
6:48 - 8:18 Tip #4: Eliminate unused JavaScript
8:18 - 9:06 Tip #5: Compress JavaScript files
9:06 - 10:35 Tip #6: Set appropriate cache durations for JavaScript code
10:35 - 11:20 Wrap up

URL’s:
PageSpeed Insights → https://goo.gle/3MTYJpX
Preconnect to required origins → https://goo.gle/3840z9i
Intervening against document.write() → https://goo.gle/3KVPh46
Reduce JavaScript payloads with tree shaking → https://goo.gle/3FlzbQe

Watch more episodes of Ecommerce Essentials → https://goo.gle/EcommerceEssentials
Subscribe to the Google Search Central Channel → https://goo.gle/SearchCentral

#EcommerceEssentials #JavaScript


Смотрите видео 6 Tips for optimizing your website with JavaScript онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Google Search Central 17 Май 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 14,232 раз и оно понравилось 380 людям.