SlideShare ist ein Scribd-Unternehmen logo
1 von 28
Why are some websites
fast? (And others not?)

Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
Objectives
• Demonstrate an understanding of a
variety of factors that affect the
performance of a website

Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
Website Performance
• Assignment 2 – due one week today
– 21 November
• Email it to me before the start of the
lesson
• You should be able to complete this
task in today’s lessons!
Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
Assignment 2
Create a leaflet that explains to new
clients of YellowZebra the various
different factors that influence the
performance of a website. This should
include both server side and client side
(user side) factors. Include the benefits of
particular server side capabilities and also
the limitations of the equipment and
software that website users might be
using to access the website.
Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
What makes a Website Slow?
Part 1 – the files you’re using

Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
General Rule:
Bigger files = slower to load

Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
File Sizes
Rank the following types of file in
order biggest to smallest (on average)
• Audio
• Video
• Image (photo)
• Animation
Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
So what to do?
• If the files your website uses are too
big, what can you do?
1. Change the physical size of the file
2. Change the file type you chose
3. Increase compression

Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
Change physical size
• Zooming an image can make it
smaller
• Download an image from google
(anything appropriate!)
• Save it
• Resize to 50% in both dimensions
• Save again and compare file size
Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
Change physical size
• Images can be zoomed or cropped to
reduce the number of pixels –
more pixels = bigger file size
• Audio and video can be trimmed to
take less time –
more seconds = bigger file size
Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
File Types
• Download an image from google
(anything appropriate!)
• Open it in Paint and go to
File > Save As
• Save it in 3 different formats:
–.jpg
–.bmp
–.png

Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
Filet types and file size
• Not all image files are the same (the
same goes for video, audio, etc.)
• Some image types are uncompressed
– e.g. bmp, tiff
• Others compress data in different
ways - .jpg and png both reduce the
size from the .bmp but in different
ways
Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
Rule of thumb for images
• .jpg is smaller for photos
• .png is smaller (and looks better) for
vector images
• .gif can move
• All the other formats are not really
any good for the web
Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
Compression
• In some image editing programs (not
paint!) you can change the
compression settings for .jpg files
–A slider for image quality from 0 to 100
–Smaller file sizes means worse image
quality and visa versa
Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
High Compression

Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
Compression
• Video and Audio can also be
compressed
• MP3 is a common compressed audio file
that can be adjusted to sound better or
have smaller file size
• AVI or M4V are video files that can be
customised in the same way
• There are lots of other video and audio
file types that can do the same
Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
Assignment 2
Create a leaflet that explains to new clients of
YellowZebra the various different factors that influence
the performance of a website. This should include both
server side and client side (user side) factors. Include
the benefits of particular server side capabilities and
also the limitations of the equipment and software that
website users might be using to access the website.

You should make sure that you include some
information about file types (image files, sound
files, video and animation files and their different
Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
formats)…
What makes a Website Slow?
Part 2 – the user’s computer

Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
The User’s Computer
Obviously, if your computer is slow
and/or if your internet connection is
slow it will affect the way websites
work on your computer

Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
What can the designer do?
• You can’t make users get a faster
computer
• You can make sure your website
doesn’t have too many features that
will slow their computer down or
take ages to load over a slow
connection
Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
Assignment 2
Create a leaflet that explains to new clients of
YellowZebra the various different factors that influence
the performance of a website. This should include both
server side and client side (user side) factors. Include…
the limitations of the equipment and software that
website users might be using to access the website.
You should make sure that you include some
information about … user or client side factors
(download speed, computer performance factors –
cache memory, processor speed)…
Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
What makes a Website Slow?
Part 3 – Your web server

Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
Issues at your server
Obviously if the server is
overloaded, has slow hardware or a
slow internet connection your site will
seem slow

Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
Reasons for Overloaded Servers
• Too many people are accessing the site at
once
– Load balancing allows you to share one
website between several different servers to
share the pain

• The server has to sent loads and
loads of separate files for every
single page (e.g. image files)
– Combine images and use only part
of the mega image each time – this
is called “sprites”
Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
Reasons for Overloaded Servers
• The server has to rebuild a dynamic
page every time it’s loaded and that
takes more time than loading from
disk
–Dynamic pages are super useful (e.g.
all blogs are dynamic as are search
engines) but if there’s a lot of traffic
they can break
Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
Server Side Capabilities
• Turn compression on
–Most web servers can compress (like
ZIP) the actual HTML pages and other
text/code files as they are downloaded

• Use web caching
–Keep a copy of a dynamic page and
send that to the user instead of
rebuilding it each time
Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
Assignment 2
Create a leaflet that explains to new clients of
YellowZebra the various different factors that
influence the performance of a website. This
should include both server side and client
side (user side) factors. Include the benefits
of particular server side capabilities …
You should make sure that you include some
information about … server side factors (web
server capacity - bandwidth, and executions
to be performed before page load)

Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
Deadline Reminder
• Assignment 2 – due one week today
– 21 November
• Email it to me before the start of the
lesson
• You should be able to complete this
task in today’s lessons!
Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20

Weitere ähnliche Inhalte

Was ist angesagt?

Unit 28 Week 13
Unit 28 Week 13Unit 28 Week 13
Unit 28 Week 13MrJRogers
 
Unit 28 Week 6
Unit 28 Week 6Unit 28 Week 6
Unit 28 Week 6MrJRogers
 
Unit 28 Week 1
Unit 28 Week 1Unit 28 Week 1
Unit 28 Week 1MrJRogers
 
Unit 28 Week 11
Unit 28 Week 11 Unit 28 Week 11
Unit 28 Week 11 MrJRogers
 
Unit 28 Week 15
Unit 28 Week 15Unit 28 Week 15
Unit 28 Week 15MrJRogers
 
Unit 28 Week 12
Unit 28 Week 12Unit 28 Week 12
Unit 28 Week 12MrJRogers
 
2009-09-11-WooThemes
2009-09-11-WooThemes2009-09-11-WooThemes
2009-09-11-WooThemesLightSpeed
 
A crash course in responsive design
A crash course in responsive designA crash course in responsive design
A crash course in responsive designEd Charbeneau
 
WordPress Page builders
WordPress Page buildersWordPress Page builders
WordPress Page buildersBrad Bihun
 
Sallie Goetsch: Making the Events Calendar Sit Up and Beg
Sallie Goetsch: Making the Events Calendar Sit Up and BegSallie Goetsch: Making the Events Calendar Sit Up and Beg
Sallie Goetsch: Making the Events Calendar Sit Up and BegEast Bay WordPress Meetup
 
Web developers (austin ramer)
Web developers (austin ramer)Web developers (austin ramer)
Web developers (austin ramer)guest2b37bb5
 
Webwing Technologies - Procedure to Implement AMP in your Website
Webwing Technologies - Procedure to Implement AMP in your WebsiteWebwing Technologies - Procedure to Implement AMP in your Website
Webwing Technologies - Procedure to Implement AMP in your WebsiteWebwing Technologies
 
15 Essential WordPress Plugins
15 Essential WordPress Plugins15 Essential WordPress Plugins
15 Essential WordPress PluginsMykl Roventine
 

Was ist angesagt? (16)

Unit 28 Week 13
Unit 28 Week 13Unit 28 Week 13
Unit 28 Week 13
 
Unit 28 Week 6
Unit 28 Week 6Unit 28 Week 6
Unit 28 Week 6
 
Unit 28 Week 1
Unit 28 Week 1Unit 28 Week 1
Unit 28 Week 1
 
Unit 28 Week 11
Unit 28 Week 11 Unit 28 Week 11
Unit 28 Week 11
 
Unit 28 Week 15
Unit 28 Week 15Unit 28 Week 15
Unit 28 Week 15
 
Unit 28 Week 12
Unit 28 Week 12Unit 28 Week 12
Unit 28 Week 12
 
2009-09-11-WooThemes
2009-09-11-WooThemes2009-09-11-WooThemes
2009-09-11-WooThemes
 
A crash course in responsive design
A crash course in responsive designA crash course in responsive design
A crash course in responsive design
 
Pofo – Creative Portfolio and Blog WordPress Theme
Pofo – Creative Portfolio and Blog WordPress ThemePofo – Creative Portfolio and Blog WordPress Theme
Pofo – Creative Portfolio and Blog WordPress Theme
 
WordPress Page builders
WordPress Page buildersWordPress Page builders
WordPress Page builders
 
Sallie Goetsch: Making the Events Calendar Sit Up and Beg
Sallie Goetsch: Making the Events Calendar Sit Up and BegSallie Goetsch: Making the Events Calendar Sit Up and Beg
Sallie Goetsch: Making the Events Calendar Sit Up and Beg
 
Web developers (austin ramer)
Web developers (austin ramer)Web developers (austin ramer)
Web developers (austin ramer)
 
Bootstrap Bootcamp
Bootstrap BootcampBootstrap Bootcamp
Bootstrap Bootcamp
 
Webwing Technologies - Procedure to Implement AMP in your Website
Webwing Technologies - Procedure to Implement AMP in your WebsiteWebwing Technologies - Procedure to Implement AMP in your Website
Webwing Technologies - Procedure to Implement AMP in your Website
 
Gosaiinfotech Resume
Gosaiinfotech ResumeGosaiinfotech Resume
Gosaiinfotech Resume
 
15 Essential WordPress Plugins
15 Essential WordPress Plugins15 Essential WordPress Plugins
15 Essential WordPress Plugins
 

Ähnlich wie Unit 28 Week 2

Understanding Computers: Today and Tomorrow, 13th Edition Chapter 10 - Multim...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 10 - Multim...Understanding Computers: Today and Tomorrow, 13th Edition Chapter 10 - Multim...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 10 - Multim...yaminohime
 
Super speed around the globe - SearchLeeds 2018
Super speed around the globe - SearchLeeds 2018Super speed around the globe - SearchLeeds 2018
Super speed around the globe - SearchLeeds 2018Bastian Grimm
 
SearchLeeds 2018 - Bastian Grimm - Peak Ace - International site speed: Going...
SearchLeeds 2018 - Bastian Grimm - Peak Ace - International site speed: Going...SearchLeeds 2018 - Bastian Grimm - Peak Ace - International site speed: Going...
SearchLeeds 2018 - Bastian Grimm - Peak Ace - International site speed: Going...Branded3
 
Practical Performance Tips and Tricks to Make Your HTML/JavaScript Apps Faster
Practical Performance Tips and Tricks to Make Your HTML/JavaScript Apps FasterPractical Performance Tips and Tricks to Make Your HTML/JavaScript Apps Faster
Practical Performance Tips and Tricks to Make Your HTML/JavaScript Apps FasterDoris Chen
 
Experience with jemalloc
Experience with jemallocExperience with jemalloc
Experience with jemallocKit Chan
 
Art and Science of Web Sites Performance: A Front-end Approach
Art and Science of Web Sites Performance: A Front-end ApproachArt and Science of Web Sites Performance: A Front-end Approach
Art and Science of Web Sites Performance: A Front-end ApproachJiang Zhu
 
Using Modern Browser APIs to Improve the Performance of Your Web Applications
Using Modern Browser APIs to Improve the Performance of Your Web ApplicationsUsing Modern Browser APIs to Improve the Performance of Your Web Applications
Using Modern Browser APIs to Improve the Performance of Your Web ApplicationsNicholas Jansma
 
Willing Webcam manual
Willing Webcam manualWilling Webcam manual
Willing Webcam manualwwwilling
 
Creating Integrating Video
Creating Integrating VideoCreating Integrating Video
Creating Integrating Videogetchan
 
Http/2 - What's it all about?
Http/2  - What's it all about?Http/2  - What's it all about?
Http/2 - What's it all about?Andy Davies
 
Responsive Images and Performance
Responsive Images and PerformanceResponsive Images and Performance
Responsive Images and PerformanceMaximiliano Firtman
 
Mage uk-2013-1345-chris-wells-131030120920-phpapp01
Mage uk-2013-1345-chris-wells-131030120920-phpapp01Mage uk-2013-1345-chris-wells-131030120920-phpapp01
Mage uk-2013-1345-chris-wells-131030120920-phpapp01Karla Mae Tejon
 
The Importance of Site Performance and Simple Steps to Achieve It
The Importance of Site Performance and Simple Steps to Achieve ItThe Importance of Site Performance and Simple Steps to Achieve It
The Importance of Site Performance and Simple Steps to Achieve ItNexcess.net LLC
 
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站George Ang
 

Ähnlich wie Unit 28 Week 2 (20)

Uc13.chapter.10
Uc13.chapter.10Uc13.chapter.10
Uc13.chapter.10
 
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 10 - Multim...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 10 - Multim...Understanding Computers: Today and Tomorrow, 13th Edition Chapter 10 - Multim...
Understanding Computers: Today and Tomorrow, 13th Edition Chapter 10 - Multim...
 
Super speed around the globe - SearchLeeds 2018
Super speed around the globe - SearchLeeds 2018Super speed around the globe - SearchLeeds 2018
Super speed around the globe - SearchLeeds 2018
 
SearchLeeds 2018 - Bastian Grimm - Peak Ace - International site speed: Going...
SearchLeeds 2018 - Bastian Grimm - Peak Ace - International site speed: Going...SearchLeeds 2018 - Bastian Grimm - Peak Ace - International site speed: Going...
SearchLeeds 2018 - Bastian Grimm - Peak Ace - International site speed: Going...
 
Practical Performance Tips and Tricks to Make Your HTML/JavaScript Apps Faster
Practical Performance Tips and Tricks to Make Your HTML/JavaScript Apps FasterPractical Performance Tips and Tricks to Make Your HTML/JavaScript Apps Faster
Practical Performance Tips and Tricks to Make Your HTML/JavaScript Apps Faster
 
Experience with jemalloc
Experience with jemallocExperience with jemalloc
Experience with jemalloc
 
Web Performance Optimization (WPO)
Web Performance Optimization (WPO)Web Performance Optimization (WPO)
Web Performance Optimization (WPO)
 
Remix
RemixRemix
Remix
 
Art and Science of Web Sites Performance: A Front-end Approach
Art and Science of Web Sites Performance: A Front-end ApproachArt and Science of Web Sites Performance: A Front-end Approach
Art and Science of Web Sites Performance: A Front-end Approach
 
Hacking Web Performance
Hacking Web Performance Hacking Web Performance
Hacking Web Performance
 
Using Modern Browser APIs to Improve the Performance of Your Web Applications
Using Modern Browser APIs to Improve the Performance of Your Web ApplicationsUsing Modern Browser APIs to Improve the Performance of Your Web Applications
Using Modern Browser APIs to Improve the Performance of Your Web Applications
 
Willing Webcam manual
Willing Webcam manualWilling Webcam manual
Willing Webcam manual
 
Creating Integrating Video
Creating Integrating VideoCreating Integrating Video
Creating Integrating Video
 
Website sculpture
Website sculptureWebsite sculpture
Website sculpture
 
#Webperf Choreography
#Webperf Choreography#Webperf Choreography
#Webperf Choreography
 
Http/2 - What's it all about?
Http/2  - What's it all about?Http/2  - What's it all about?
Http/2 - What's it all about?
 
Responsive Images and Performance
Responsive Images and PerformanceResponsive Images and Performance
Responsive Images and Performance
 
Mage uk-2013-1345-chris-wells-131030120920-phpapp01
Mage uk-2013-1345-chris-wells-131030120920-phpapp01Mage uk-2013-1345-chris-wells-131030120920-phpapp01
Mage uk-2013-1345-chris-wells-131030120920-phpapp01
 
The Importance of Site Performance and Simple Steps to Achieve It
The Importance of Site Performance and Simple Steps to Achieve ItThe Importance of Site Performance and Simple Steps to Achieve It
The Importance of Site Performance and Simple Steps to Achieve It
 
腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站腾讯大讲堂09 如何建设高性能网站
腾讯大讲堂09 如何建设高性能网站
 

Mehr von MrJRogers

L6 diary management
L6   diary managementL6   diary management
L6 diary managementMrJRogers
 
L2 identifying photos
L2   identifying photosL2   identifying photos
L2 identifying photosMrJRogers
 
L1 intro & hardware
L1   intro & hardwareL1   intro & hardware
L1 intro & hardwareMrJRogers
 
Image reflections intro
Image reflections introImage reflections intro
Image reflections introMrJRogers
 
Dame Elizabeth Cadbury Year 8 ICT Homework Project Introduction
Dame Elizabeth Cadbury Year 8 ICT Homework Project IntroductionDame Elizabeth Cadbury Year 8 ICT Homework Project Introduction
Dame Elizabeth Cadbury Year 8 ICT Homework Project IntroductionMrJRogers
 
Dame Elizabeth Cadbury Year 8 ICT Homework Project
Dame Elizabeth Cadbury Year 8 ICT Homework ProjectDame Elizabeth Cadbury Year 8 ICT Homework Project
Dame Elizabeth Cadbury Year 8 ICT Homework ProjectMrJRogers
 
Unit 3 assessment 3 lesson
Unit 3 assessment 3 lessonUnit 3 assessment 3 lesson
Unit 3 assessment 3 lessonMrJRogers
 
Types of Software - Y9 Computing
Types of Software - Y9 ComputingTypes of Software - Y9 Computing
Types of Software - Y9 ComputingMrJRogers
 
Types & sources of info
Types & sources of infoTypes & sources of info
Types & sources of infoMrJRogers
 
Databases & spreadsheets
Databases & spreadsheetsDatabases & spreadsheets
Databases & spreadsheetsMrJRogers
 

Mehr von MrJRogers (16)

L6 diary management
L6   diary managementL6   diary management
L6 diary management
 
L4 proofs
L4   proofsL4   proofs
L4 proofs
 
L3 cookies
L3   cookiesL3   cookies
L3 cookies
 
L2 identifying photos
L2   identifying photosL2   identifying photos
L2 identifying photos
 
L1 intro & hardware
L1   intro & hardwareL1   intro & hardware
L1 intro & hardware
 
Image reflections intro
Image reflections introImage reflections intro
Image reflections intro
 
Dame Elizabeth Cadbury Year 8 ICT Homework Project Introduction
Dame Elizabeth Cadbury Year 8 ICT Homework Project IntroductionDame Elizabeth Cadbury Year 8 ICT Homework Project Introduction
Dame Elizabeth Cadbury Year 8 ICT Homework Project Introduction
 
Dame Elizabeth Cadbury Year 8 ICT Homework Project
Dame Elizabeth Cadbury Year 8 ICT Homework ProjectDame Elizabeth Cadbury Year 8 ICT Homework Project
Dame Elizabeth Cadbury Year 8 ICT Homework Project
 
Unit 3 assessment 3 lesson
Unit 3 assessment 3 lessonUnit 3 assessment 3 lesson
Unit 3 assessment 3 lesson
 
Types of Software - Y9 Computing
Types of Software - Y9 ComputingTypes of Software - Y9 Computing
Types of Software - Y9 Computing
 
Types & sources of info
Types & sources of infoTypes & sources of info
Types & sources of info
 
Databases & spreadsheets
Databases & spreadsheetsDatabases & spreadsheets
Databases & spreadsheets
 
Lesson 7
Lesson 7Lesson 7
Lesson 7
 
Lesson 5
Lesson 5Lesson 5
Lesson 5
 
Lesson 4
Lesson 4Lesson 4
Lesson 4
 
Lesson 3
Lesson 3Lesson 3
Lesson 3
 

Kürzlich hochgeladen

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?Antenna Manufacturer Coco
 

Kürzlich hochgeladen (20)

Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 

Unit 28 Week 2

  • 1. Why are some websites fast? (And others not?) Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 2. Objectives • Demonstrate an understanding of a variety of factors that affect the performance of a website Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 3. Website Performance • Assignment 2 – due one week today – 21 November • Email it to me before the start of the lesson • You should be able to complete this task in today’s lessons! Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 4. Assignment 2 Create a leaflet that explains to new clients of YellowZebra the various different factors that influence the performance of a website. This should include both server side and client side (user side) factors. Include the benefits of particular server side capabilities and also the limitations of the equipment and software that website users might be using to access the website. Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 5. What makes a Website Slow? Part 1 – the files you’re using Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 6. General Rule: Bigger files = slower to load Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 7. File Sizes Rank the following types of file in order biggest to smallest (on average) • Audio • Video • Image (photo) • Animation Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 8. So what to do? • If the files your website uses are too big, what can you do? 1. Change the physical size of the file 2. Change the file type you chose 3. Increase compression Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 9. Change physical size • Zooming an image can make it smaller • Download an image from google (anything appropriate!) • Save it • Resize to 50% in both dimensions • Save again and compare file size Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 10. Change physical size • Images can be zoomed or cropped to reduce the number of pixels – more pixels = bigger file size • Audio and video can be trimmed to take less time – more seconds = bigger file size Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 11. File Types • Download an image from google (anything appropriate!) • Open it in Paint and go to File > Save As • Save it in 3 different formats: –.jpg –.bmp –.png Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 12. Filet types and file size • Not all image files are the same (the same goes for video, audio, etc.) • Some image types are uncompressed – e.g. bmp, tiff • Others compress data in different ways - .jpg and png both reduce the size from the .bmp but in different ways Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 13. Rule of thumb for images • .jpg is smaller for photos • .png is smaller (and looks better) for vector images • .gif can move • All the other formats are not really any good for the web Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 14. Compression • In some image editing programs (not paint!) you can change the compression settings for .jpg files –A slider for image quality from 0 to 100 –Smaller file sizes means worse image quality and visa versa Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 15. High Compression Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 16. Compression • Video and Audio can also be compressed • MP3 is a common compressed audio file that can be adjusted to sound better or have smaller file size • AVI or M4V are video files that can be customised in the same way • There are lots of other video and audio file types that can do the same Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 17. Assignment 2 Create a leaflet that explains to new clients of YellowZebra the various different factors that influence the performance of a website. This should include both server side and client side (user side) factors. Include the benefits of particular server side capabilities and also the limitations of the equipment and software that website users might be using to access the website. You should make sure that you include some information about file types (image files, sound files, video and animation files and their different Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20 formats)…
  • 18. What makes a Website Slow? Part 2 – the user’s computer Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 19. The User’s Computer Obviously, if your computer is slow and/or if your internet connection is slow it will affect the way websites work on your computer Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 20. What can the designer do? • You can’t make users get a faster computer • You can make sure your website doesn’t have too many features that will slow their computer down or take ages to load over a slow connection Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 21. Assignment 2 Create a leaflet that explains to new clients of YellowZebra the various different factors that influence the performance of a website. This should include both server side and client side (user side) factors. Include… the limitations of the equipment and software that website users might be using to access the website. You should make sure that you include some information about … user or client side factors (download speed, computer performance factors – cache memory, processor speed)… Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 22. What makes a Website Slow? Part 3 – Your web server Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 23. Issues at your server Obviously if the server is overloaded, has slow hardware or a slow internet connection your site will seem slow Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 24. Reasons for Overloaded Servers • Too many people are accessing the site at once – Load balancing allows you to share one website between several different servers to share the pain • The server has to sent loads and loads of separate files for every single page (e.g. image files) – Combine images and use only part of the mega image each time – this is called “sprites” Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 25. Reasons for Overloaded Servers • The server has to rebuild a dynamic page every time it’s loaded and that takes more time than loading from disk –Dynamic pages are super useful (e.g. all blogs are dynamic as are search engines) but if there’s a lot of traffic they can break Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 26. Server Side Capabilities • Turn compression on –Most web servers can compress (like ZIP) the actual HTML pages and other text/code files as they are downloaded • Use web caching –Keep a copy of a dynamic page and send that to the user instead of rebuilding it each time Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 27. Assignment 2 Create a leaflet that explains to new clients of YellowZebra the various different factors that influence the performance of a website. This should include both server side and client side (user side) factors. Include the benefits of particular server side capabilities … You should make sure that you include some information about … server side factors (web server capacity - bandwidth, and executions to be performed before page load) Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20
  • 28. Deadline Reminder • Assignment 2 – due one week today – 21 November • Email it to me before the start of the lesson • You should be able to complete this task in today’s lessons! Image from: http://antiqueradios.com/forums/viewtopic.php?f=1&t=188309&start=20