Lecture Notes about performance of websites, how to measure it and improve it as a Web developer.
It has a summary section on the left side of the page, following the Cornell note taking method, where the key points are summarised on the side of the noted.
Performance Contents
optimisation leads Performance Trade-off
to extra cost, time, Frontend vs Backend
new bugs and Performance
more obscure Measuring
Improve Progressive Rendering
code
Delays vs User Perception
Backend: Stylesheets
compiler, Scripts
database, memory Less Download Time
management, new Distance to Server
hardware Components
Use Ajax
Front end causes Fewer HTTP Requests
80% of issues Cache More
Add Expires Header
Performance is
JS/CSS Inline vs External
measured by:
External
human Duplicate or Unused scripts
observation Remove Duplicate Scripts
Summary
logging code
and time
profiling using Performance Trade-off
automation, to Optimising for performance might lead to
find
extra cost or time
bottlenecks
new bugs being introduced
Improvements:
more obscure code
Progressive
rendering
renders the
Performance 1
, content as
soon as ‼️ We need to understand the compromise,
possible ensure change is a worthy improvement
stylesheets
should be
at the top Frontend vs Backend
scripts
Backend
should be
at the compiler optimisation options
bottom, database indexes and application
because architecture
they block
memory management
parallel
downloading new hardware
Less download Front end issue: 80% of total time
time
Small changes, great boost in performance
distance to
the server:
use CDNs Performance
to reduce
physical
distance
‼️ Do not waste time trying to speed up code
that does not consume a significant amount
Components of the time
need to be
downloaded at
only 10-20% of the end user response time
least once and
is spent downloading the HTML document
they may
The other 80-90% is spent downloading all
change a lot
the components in the page
using gzip
compresses
the Measuring
component
and Human observation: use the application on your
reduces target platforms and ensure the performance is
download adequate
time
Performance 2
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller ileniamaiettabusiness. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £5.86. You're not tied to anything after your purchase.