About 30-45 minutes
Understand that JavaScript goes into websites and that when you go to a website on a browser, the code needs to get sent to the browser and loaded, likely needing to make API calls to retrieve data.
Users are fickle: website performance matters.
Participants will be able to:
Caching
What is caching?
How does caching make a website faster?
Minification
What is minification?
How does minification make a website faster?
Utilize Live JavaScript minifier tool
Code on the server-side (ie. backend code) doesn’t benefit from being minified because that code is not delivered to the user’s browser.
Find a minifier online and test it out with some JavaScript code, like this JavaScript minifier.
Look up the advanced optimization concepts introduced in the slides:
Precaching
Concurrency