• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Start selling Create your account
Document preview thumbnail
Preview 2 out of 7 pages
Lecture notes

Web Programming: Performance Lecture Notes

Document preview thumbnail
Preview 2 out of 7 pages

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.

Content preview

🔢
Performance
SUMMARY MAIN NOTES

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

Document information

Study
Unknown
Uploaded on
January 5, 2025
Number of pages
7
Written in
2024/2025
Type
Lecture notes
Professor(s)
Paulo oliva
Contains
All classes
£6.36

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
0
Followers
0
Items
10
Last sold
-




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their exams and reviewed by others who've used these revision notes.

Didn't get what you expected? Choose another document

No problem! You can straightaway pick a different document that better suits what you're after.

Pay as you like, start learning straight away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and smashed it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions