Autoplay
Autocomplete
Previous Lesson
Complete and Continue
JavaScript High Performance
Minifying and Caching Your Site
Course Overview
Caching Your Scripts
Creating a Cache Buster
Minifying Your Output
Covering the Foundations
Always Declare Your Variables
Creating Location References
Condensing var Definitions
Comparing Explicitly When Appropriate
Using String Accumulator-style
Building Strings with Arrays
Going Beyond the Basics
Avoiding eval for Object References
Talking to Functions
Avoiding eval
Reducing the Use of Anonymous Functions
OOP – Defining Class Methods and Properties
Looping, Arrays, and Conditions
Picking the Right Loop for the Task
Simplifying Your Loops – Round 1
Reducing the Loop Footprint
Loops, Arrays, and Memory Leaks
Preallocating Size to an Array
Avoiding the Unnecessary
Putting Code Where It Should Be
Optimizing Events and Time
Clearing Circular References
Using Less Events to Do More
Trading Smoothness for Speed
Clearing Memory Leaks by Always Clearing Intervals
How to Avoid Running Multiple Intervals
The DOM and CSS
Reducing DOM Calls
Reducing Document Reflows
Making It Animate Smoothly
Changing Classes and Not Styles
Adding Scripts as You Need Them Dynamically
Data and leaks
Cutting Traveling with HTML5 Validation
Moving Data Processing to the Client Side
What Data Types to Use?
Caching Data
The Issue with Working Directly with HTML Collections
Converting Collection Objects into Arrays
FPS and High Resolution Time – HRT
JavaScript Profiling and Memory Leaks
Clearing Memory Leaks by Always Clearing Intervals
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock