Web Cache. What is Cache? Cache is the storing of data temporarily to improve performance. Cache exist in a variety of areas such as your CPU, Hard Disk.

Slides:



Advertisements
Similar presentations
PHP I.
Advertisements

Amazon CloudFront An introductory discussion. What is Amazon CloudFront? 5/31/20122© e-Zest Solutions Ltd. Amazon CloudFront is a web service for content.
Prime’ Senior Project. Presentation Outline What is Our Project? Problem Definition What does our system do? How does the system work? Implementation.
Muhammad Taimoor Khan
What is it? –Large Web sites that support commercial use cannot be written by hand What you’re going to learn –How a Web server and a database can be used.
Servlets and a little bit of Web Services Russell Beale.
CSE 190: Internet E-Commerce Lecture 16: Performance.
EEC-484/584 Computer Networks Discussion Session for HTTP and DNS Wenbing Zhao
Creating WordPress Websites. Creating a site on your computer Local server Local WordPress installation Setting Up Dreamweaver.
INTERNET DATABASE. Internet and E-commerce Internet – a worldwide collection of interconnected computer network Internet – a worldwide collection of interconnected.
Handling Web Hotspots at Dynamic Content Web Sites Using DotSlash Weibin Zhao Henning Schulzrinne Columbia University NYMAN’04.
Progress Report 11/1/01 Matt Bridges. Overview Data collection and analysis tool for web site traffic Lets website administrators know who is on their.
Multiple Tiers in Action
Implementing ISA Server Caching. Caching Overview ISA Server supports caching as a way to improve the speed of retrieving information from the Internet.
Website Development with PHP and MySQL Introduction.
Chapter 9 Introduction to the Document Object Model (DOM) JavaScript, Third Edition.
Advanced Web 2012 Lecture 2 Sean Costain How the Web Works - Refresh Sean Costain 2012 The web is a matrix of servers that handle client requests.
Nikolay Tomitov Technical Trainer SoftAcad.bg.  What are Amazon Web services (AWS) ?  What’s cool when developing with AWS ?  Architecture of AWS 
1 Web Content Delivery Reading: Section and COS 461: Computer Networks Spring 2007 (MW 1:30-2:50 in Friend 004) Ioannis Avramopoulos Instructor:
DotSlash: Providing Dynamic Scalability to Web Applications Weibin Zhao and Henning Schulzrinne Department of Computer Science, Columbia University More.
Electronic Commerce Last Week Internet utility programs
The Web Server Every web site (the collection of html/css files, data files, scripts and other files) must be stored on a web server The term web server.
 Proxy Servers are software that act as intermediaries between client and servers on the Internet.  They help users on private networks get information.
Web Cache. Introduction what is web cache?  Introducing proxy servers at certain points in the network that serve in caching Web documents for faster.
COMPUTER TERMS PART 1. COOKIE A cookie is a small amount of data generated by a website and saved by your web browser. Its purpose is to remember information.
INTRO TO MAKING A WEBSITE Mark Zhang.  HTML  CSS  Javascript  PHP  MySQL  …That’s a lot of stuff!
Java Servlets. What Are Servlets? Basically, a java program that runs on the server Basically, a java program that runs on the server Creates dynamic.
Web Programming Language Dr. Ken Cosh Week 1 (Introduction)
Web Page A page displayed by the browser. Website Collection of multiple web pages Web Browser: A software that displays web pages on client computer.
22-Aug-15 | 1 |1 | Help! I need more servers! What do I do? Scaling a PHP application.
Architecture Of ASP.NET. What is ASP?  Server-side scripting technology.  Files containing HTML and scripting code.  Access via HTTP requests.  Scripting.
Databases and the Internet. Lecture Objectives Databases and the Internet Characteristics and Benefits of Internet Server-Side vs. Client-Side Special.
Server-side Scripting Powering the webs favourite services.
Implementing ISA Server Publishing. Introduction What Are Web Publishing Rules? ISA Server uses Web publishing rules to make Web sites on protected networks.
Project Proposal Interface Design Website Coding Website Testing & Launching Website Maintenance.
Website Design Lecture 1. Outline Introduction to the module Outline of the Assessment Schedule Lecture Static XHTML, client side and server side Why.
Module 9: Implementing Caching. Overview Caching Overview Configuring General Cache Properties Configuring Cache Rules Configuring Content Download Jobs.
Dynamic web content HTTP and HTML: Berners-Lee’s Basics.
CS 4720 Dynamic Web Applications CS 4720 – Web & Mobile Systems.
Case Study Dynamic Website - Three Tier Architecture
Web Server.
UNIT-3 Performance Evaluation UNIT-3 IT2031. Web Server Hardware and Performance Evaluation Key question is whether a company should host their own Web.
Accelerating PHP Applications Ilia Alshanetsky O’Reilly Open Source Convention August 3rd, 2005.
(ITI310) By Eng. BASSEM ALSAID SESSIONS 10: Internet Information Services (IIS)
COSC 2328 – Web Programming.  PHP is a server scripting language  It’s widely-used and free  It’s an alternative to Microsoft’s ASP and Ruby  PHP.
Introduction to ASP.NET development. Background ASP released in 1996 ASP supported for a minimum 10 years from Windows 8 release ASP.Net 1.0 released.
MICROSOFT AJAX CDN (CONTENT DELIVERY NETWORK) Make Your ASP.NET site faster to retrieve.
A S P. Outline  The introduction of ASP  Why we choose ASP  How ASP works  Basic syntax rule of ASP  ASP’S object model  Limitations of ASP  Summary.
G046 – Lecture 2A Recognising Web-Technologies Mr C Johnston ICT Teacher
Pros and Cons of Static or Dynamic Websites. As a website user, you may not bother if a site you visit is static or dynamic as it is a sheer backend functionality.
E-Business Infrastructure PRESENTED BY IKA NOVITA DEWI, MCS.
Web Development. Agenda Web History Network Architecture Types of Server The languages of the web Protocols API 2.
Web and Proxy Server.
Web Programming Language
Section 6.3 Server-side Scripting
Netscape Application Server
Web Development Web Servers.
Web Caching? Web Caching:.
Processes The most important processes used in Web-based systems and their internal organization.
AJAX.
PHP / MySQL Introduction
Tips for Website Speed Optimization
Database Driven Websites
PHP + Oracle = Data-Driven Websites
Web Systems Development (CSC-215)
PHP and Forms.
Client-Server Model: Requesting a Web Page
Yale Digital Conference 2019
Web Application Development Using PHP
CGS 3066: Web Programming and Design Fall 2019
Presentation transcript:

Web Cache

What is Cache? Cache is the storing of data temporarily to improve performance. Cache exist in a variety of areas such as your CPU, Hard Disk and DNS. CPU CacheHard Disk CacheDNS Cache

Our Focus Our focus on this tutorial will be web cache. Web cache is temporary storing of data that is used with delivering a webpage (html, php, javascript, etc).

Why and How Many sites today are dynamic websites that 1. Use a database connection 2. Written with a scripting language 3. Have changing content With the amount of technology behind making these sites work combined with larges volumes of traffic going to these sites, cache is very important to improve the user experience and lowering cost of your hardware.

Basic Flow Without Cache User Server Database 1. User request goes to server 2. Server request content from database 3. Database returns data 4. Server returns content

This Is Ok If….. 1. Not a lot of content 2. Small amount of users/pageviews This Is Bad If….. 1. Lots of contents 2. Lots of users/pageviews

Flow With Cache User Server Database 1. User request goes to server 2. Server gets content that is cached Database only needed to be called for new content 3. Server returns data

Cache Benefits CPU Cycle Billing: If you are billed by the CPU Cycle, cache can save you money because less of the cpu is used when reading a file rather than a complex database query. Bottleneck: If there is a bottleneck on your web service such as with your database, not calling the database as often and using cached database queries could help with that bottleneck Faster UI: Storing cached files, whether in a file in the browser or a location on the server, can lower the amount of time need to load a page. This can make a faster user experience.

Basic Caching Methods Headers: PHP has a cache option set in the headers. This can be useful for caching external files such as JavaScript and CSS files. Basic File Cache: Basic file cache is an easy to implement solution for writing and reading cache on a server. Memcache: A PHP extension for caching files on multiple servers. Cache Lite: A PHP extension installed through PEAR that caches whole pages or sections of pages. APC : APC, short for Alternative PHP Cache, is another php extension that cache’s PHP code. It is installed through PECL.

Higher Level Caching Varnish: A HTTP accelerator(reverse proxy) that caches data in virtual memory. Squid: A caching server that can cache DNS, FTP, HTTPS, HTTP, TSL, and SSL protocols. Apache Traffic Server: A reverse proxy and forward proxy caching server that despite its name, works with Nginx. XtraDB: If you are using a Mysql database, this caching solution can help optimize performance of your database better than the standard InnoDB.

Review As you can see, caching can occur at many levels. Database (ex: XtraDB) Server ( ex: Memcache) DNS/Networks ( ex: Squid) Client’s Browser (ex: Headers) Take the time to research these solutions further to see how can they improve your site’s performance.

ProdigyView and Caching Natively, ProdigyView offers two type of caching: file cache and memcache. Bot are easy to setup and use. Caching solutions can be extended by using a third party caching solution or writing an adapter that will change how the cache works.

API Reference For a better understanding of cache in ProdigyView, visit the api by clicking on the link below. PVCache More Tutorials For more tutorials, please visit: