SlideShare a Scribd company logo
WEB CACHES
IMPROVING WEBSITE PERFORMANCE
INTRODUCTION
• Web caching is the activity of storing data for
reuse, such as a copy of a web page served by a
web server. It is cached or stored the first time a
user visits the page and the next time a user
requests the same page, a cache will serve the
copy, which helps keep the origin server from
getting overloaded.
• Web caching is a technology that speeds up a
webpage after it has been viewed for the first
time. Caching accomplishes this by temporarily
storing static assets (such as images, HTML,
CSS, and JavaScript) from the webpage so it can
be easily accessed later on.
HOW WEB CACHES WORK
• Caching is the process of storing
copies of files in a cache, or temporary
storage location, so that they can be
accessed more quickly.
• Web caching works by caching the
HTTP responses for requests according
to certain rules. Subsequent requests
for cached content can then be fulfilled
from a cache closer to the user instead
of sending the request all the way back
to the web server.
TYPE OF WEB CACHES
• WEB CACHES BROWSER:
A temporary storage area in memory or on disk that holds the most recently
downloaded Web pages.
• WEB CACHES PROXY:
Stores copies of frequently accessed web objects (such as documents, images,
and articles) close to users and serves.
• WEB CACHES CDN:
A CDN, content delivery network, caches content (such as images, video or
webpages) in proxy servers that are located closer to end users than origin servers.
CACHE HIERARCHIES
• Local Cache:
This is the first level of the cache hierarchy and is typically a browser cache
that stores copies of web pages and assets from previously visited websites.
• Network Cache:
The network cache is located on a server or device within the user’s network.
This can be a proxy cache, gateway cache, or a CDN cache. The network cache store
copies of web pages and assets that are frequently accessed by user within the
network.
• Global cache:
The global cache is located on a server or device that is outside of the user’s
network. This can be a CDN or reverse cache located on the web server. The global
cache stores copies of web pages that are frequently accessed by users from different
regions of the world.
BENEFITS OF WEB CACHES
• Faster website load times
• Reduced server load and
bandwidth usage
• Improved user experience
• Cost saving for website
owners
LIMITATIONS OF WEB CACHES
• Stale content issue
• Privacy concerns
• Compatibility issue
• Limited storage
BEST PRACTICES FOR USING WEB
CACHES
• Set Appropriate Cache-control Headers
• Use Cache Invalidation Techniques
• Monitor Cache Performance
• Implement Security Measures
CONCLUSION
RECAP OF KEY POINTS
• Web caching is a technology that store frequently accessed web content in a
cache to improve website performance and reduce server load.
• There are different types of web caches, including browser caches, proxy
caches, and CDN caches. Each with their own advantages and limitations.
• Web caching can significantly reduce the time it takes to load a website.
• There some limitations and compatibility issue that must be considered.
• To use web caching effectively, it is important to follow best practices such
as setting appropriate cache-control headers, using cache-busting and
invalidation techniques, monitoring cache performance, and implement
security measures like SSL/TLS encryption.
THANK YOU

More Related Content

PPTX
Caching and Its Main Types
PPTX
Web Caching Systems improve web performance by storing frequently accessed re...
PPTX
Web browser architecture.pptx
PPTX
Mini-Training: To cache or not to cache
PPTX
Basic Caching Terminology
PPTX
Advanced Caching Concepts @ Velocity NY 2015
PPT
World Wide Web Caching
PPTX
Cdn technology overview
Caching and Its Main Types
Web Caching Systems improve web performance by storing frequently accessed re...
Web browser architecture.pptx
Mini-Training: To cache or not to cache
Basic Caching Terminology
Advanced Caching Concepts @ Velocity NY 2015
World Wide Web Caching
Cdn technology overview

Similar to Computer Network.pptx (20)

PPTX
The Most Frequently Used Caching Headers
PDF
Web performance optimization - MercadoLibre
PDF
Web performance mercadolibre - ECI 2013
PPTX
Analysis of Google Page Speed Insight
PDF
An Optimization Technique of Web Caching using Fuzzy Inference System
PDF
Mobile & Desktop Cache 2.0: How To Create A Scriptable Cache
PDF
Caching for the Mobile Web and Macklemore's Thrift Shop
PDF
HitBand: A Prefetching Model to Increase Hit Rate and Reduce Bandwidth Consum...
PPTX
[Hanoi-August 13] Tech Talk on Caching Solutions
PDF
UOW-Caching and new ways to improve response time (Paper)
PPT
Web Application Cache (APC, Memcache)
PDF
Edge Caching Dynamic Apps
PPTX
Sitecore Personalization on websites cached on CDN servers
PPTX
Intro to web apps application and development
PDF
HTTP cache @ PUG Rome 03-29-2011
PDF
Caching on the web
PDF
Harnessing The Power of CDNs
PDF
Leeward WordPress Meetup- Caching and Website Speed
PDF
Simple server side cache for Express.js with Node.js
PPTX
Show Me The Cache!
The Most Frequently Used Caching Headers
Web performance optimization - MercadoLibre
Web performance mercadolibre - ECI 2013
Analysis of Google Page Speed Insight
An Optimization Technique of Web Caching using Fuzzy Inference System
Mobile & Desktop Cache 2.0: How To Create A Scriptable Cache
Caching for the Mobile Web and Macklemore's Thrift Shop
HitBand: A Prefetching Model to Increase Hit Rate and Reduce Bandwidth Consum...
[Hanoi-August 13] Tech Talk on Caching Solutions
UOW-Caching and new ways to improve response time (Paper)
Web Application Cache (APC, Memcache)
Edge Caching Dynamic Apps
Sitecore Personalization on websites cached on CDN servers
Intro to web apps application and development
HTTP cache @ PUG Rome 03-29-2011
Caching on the web
Harnessing The Power of CDNs
Leeward WordPress Meetup- Caching and Website Speed
Simple server side cache for Express.js with Node.js
Show Me The Cache!
Ad

Recently uploaded (20)

PDF
cuic standard and advanced reporting.pdf
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PDF
Mobile App Security Testing_ A Comprehensive Guide.pdf
PDF
Electronic commerce courselecture one. Pdf
PDF
Modernizing your data center with Dell and AMD
PPTX
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Encapsulation theory and applications.pdf
PDF
NewMind AI Monthly Chronicles - July 2025
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPT
Teaching material agriculture food technology
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
PDF
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
PPTX
Cloud computing and distributed systems.
cuic standard and advanced reporting.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Dropbox Q2 2025 Financial Results & Investor Presentation
Digital-Transformation-Roadmap-for-Companies.pptx
The Rise and Fall of 3GPP – Time for a Sabbatical?
Mobile App Security Testing_ A Comprehensive Guide.pdf
Electronic commerce courselecture one. Pdf
Modernizing your data center with Dell and AMD
Detection-First SIEM: Rule Types, Dashboards, and Threat-Informed Strategy
Unlocking AI with Model Context Protocol (MCP)
Encapsulation theory and applications.pdf
NewMind AI Monthly Chronicles - July 2025
“AI and Expert System Decision Support & Business Intelligence Systems”
Teaching material agriculture food technology
Building Integrated photovoltaic BIPV_UPV.pdf
Reach Out and Touch Someone: Haptics and Empathic Computing
Review of recent advances in non-invasive hemoglobin estimation
PA Analog/Digital System: The Backbone of Modern Surveillance and Communication
Build a system with the filesystem maintained by OSTree @ COSCUP 2025
Cloud computing and distributed systems.
Ad

Computer Network.pptx

  • 2. INTRODUCTION • Web caching is the activity of storing data for reuse, such as a copy of a web page served by a web server. It is cached or stored the first time a user visits the page and the next time a user requests the same page, a cache will serve the copy, which helps keep the origin server from getting overloaded. • Web caching is a technology that speeds up a webpage after it has been viewed for the first time. Caching accomplishes this by temporarily storing static assets (such as images, HTML, CSS, and JavaScript) from the webpage so it can be easily accessed later on.
  • 3. HOW WEB CACHES WORK • Caching is the process of storing copies of files in a cache, or temporary storage location, so that they can be accessed more quickly. • Web caching works by caching the HTTP responses for requests according to certain rules. Subsequent requests for cached content can then be fulfilled from a cache closer to the user instead of sending the request all the way back to the web server.
  • 4. TYPE OF WEB CACHES • WEB CACHES BROWSER: A temporary storage area in memory or on disk that holds the most recently downloaded Web pages. • WEB CACHES PROXY: Stores copies of frequently accessed web objects (such as documents, images, and articles) close to users and serves. • WEB CACHES CDN: A CDN, content delivery network, caches content (such as images, video or webpages) in proxy servers that are located closer to end users than origin servers.
  • 5. CACHE HIERARCHIES • Local Cache: This is the first level of the cache hierarchy and is typically a browser cache that stores copies of web pages and assets from previously visited websites. • Network Cache: The network cache is located on a server or device within the user’s network. This can be a proxy cache, gateway cache, or a CDN cache. The network cache store copies of web pages and assets that are frequently accessed by user within the network. • Global cache: The global cache is located on a server or device that is outside of the user’s network. This can be a CDN or reverse cache located on the web server. The global cache stores copies of web pages that are frequently accessed by users from different regions of the world.
  • 6. BENEFITS OF WEB CACHES • Faster website load times • Reduced server load and bandwidth usage • Improved user experience • Cost saving for website owners
  • 7. LIMITATIONS OF WEB CACHES • Stale content issue • Privacy concerns • Compatibility issue • Limited storage
  • 8. BEST PRACTICES FOR USING WEB CACHES • Set Appropriate Cache-control Headers • Use Cache Invalidation Techniques • Monitor Cache Performance • Implement Security Measures
  • 9. CONCLUSION RECAP OF KEY POINTS • Web caching is a technology that store frequently accessed web content in a cache to improve website performance and reduce server load. • There are different types of web caches, including browser caches, proxy caches, and CDN caches. Each with their own advantages and limitations. • Web caching can significantly reduce the time it takes to load a website. • There some limitations and compatibility issue that must be considered. • To use web caching effectively, it is important to follow best practices such as setting appropriate cache-control headers, using cache-busting and invalidation techniques, monitoring cache performance, and implement security measures like SSL/TLS encryption.