HTML

Performance

A few ways to optimize a websites payload.

Tags

optimizeminify

Critical Path

Benchmark

Measure the baseline performance of the site prior to any optimizations.

Optimizations

Images

Use sprite sheets for images.

Compress image size.

Minification

look for css tool

that removes comments and white space

Lazy Loading

Load assets only when visible to the user.

Consider what is more important for specific uses.

Parallel Loading

Loads assets simultaneously and runs them in order of download completion.

Does not run them in a defined order.

Single Thread

Engines

No more than one of these operations can occur at a time.

There are more.

Web Workers

Use web workers since they run on a separate thread and can make use of multi threading and multi cores.

Once they complete their calculations they wait for the main thread to be available in order to communicate their result.

Pos

Neg

notes navigation

Current URL: /notes/01HTML/01-performance/

total notes 36