#JavaScript performance
JavaScript performance is about how scripts affect loading, responsiveness and battery use on real devices. Articles tagged here explain render-blocking scripts, unused code, long tasks and third-party tags. They show how to use defer, async and code splitting safely. You will learn how to find which script is responsible for a slow page. Each guide focuses on changes that make pages respond faster to taps and clicks. These fixes matter most on mid-range phones.
2026. gada 12. nov. · Lasīšanas laiks: 7 minMobile CPUs and Website Speed: Why Phones Struggle
A page that feels instant on your laptop can crawl on a mid-range phone. Learn why mobile processors slow JavaScript, how to test with…
2026. gada 10. nov. · Lasīšanas laiks: 8 minDOM-Based XSS: When Your Own Script Opens the Door
DOM-based XSS happens in the browser when page scripts write untrusted data into the page. Learn how it works, where it hides and how…
2026. gada 5. nov. · Lasīšanas laiks: 8 minReview and Booking Widgets: Keep Them Without Slowing Pages
Review carousels and booking forms load outside scripts that slow pages and shift layouts. Learn how to keep them while protecting speed and Core…
Marketing Pixels and Page Speed: Track Without the Drag
Every advertising and analytics pixel adds requests and script work. Learn how to measure their cost, remove the ones you do not need and…
2026. gada 1. nov. · Lasīšanas laiks: 8 minMoving Third-Party Scripts Off the Main Thread
Chat, ads and tracking scripts block the main thread and slow taps. Learn how to delay them, load them smartly and run some in…
2026. gada 30. okt. · Lasīšanas laiks: 8 minPrototype Pollution: A JavaScript Flaw Explained Simply
Prototype pollution lets an attacker change how every object in a JavaScript app behaves. Learn how it works, why it matters and how to…
2026. gada 29. okt. · Lasīšanas laiks: 7 minPlugin Scripts on Every Page: Load Assets Only Where Needed
Many WordPress plugins load their CSS and JavaScript on every page, even where they are not used. Learn how to find and limit them…
2026. gada 27. okt. · Lasīšanas laiks: 8 minService Workers and Offline Caching: Do Small Sites Need Them?
A service worker can cache files and serve pages without a network. Learn how it works, when it speeds up a small site and…
2026. gada 21. okt. · Lasīšanas laiks: 8 minPop-ups and Modals: How to Keep Them From Slowing Your Site
Newsletter pop-ups, exit overlays and promo modals add scripts, shift layout and delay taps. Learn how they hurt speed and Core Web Vitals, and…
2026. gada 19. okt. · Lasīšanas laiks: 8 minLong Tasks and Main-Thread Work: How to Find and Fix Them
A page can load fast and still feel stuck. Learn what long tasks are, how to spot them in Chrome DevTools and the practical…
2026. gada 15. okt. · Lasīšanas laiks: 8 minGoogle Tag Manager and Page Speed: Keep Tags Under Control
Google Tag Manager is handy, but every tag you add can slow your pages. Learn how to audit tags, limit when they fire, and…
2026. gada 15. okt. · Lasīšanas laiks: 8 minRemove Unneeded WordPress Scripts: Emoji, Embeds and More
WordPress loads emoji, embed and other extra files on every page. Learn which ones you can safely switch off, what it saves, and what…