AMP Cache Sandeep Davu.

Slides:



Advertisements
Similar presentations
Site and user security concerns for real time content serving Chris Mejia, IAB Sean Snider, Yahoo! Prabhakar Goyal, Microsoft.
Advertisements

1 CS 502: Computing Methods for Digital Libraries Lecture 22 Web browsers.
The Application Layer Chapter 7. Electronic Mail Architecture and Services The User Agent Message Formats Message Transfer Final Delivery.
IST 221 Internet Concepts and Applications Internet, WWW and HTML 1.
Crawling The Web. Motivation By crawling the Web, data is retrieved from the Web and stored in local repositories Most common example: search engines,
Topics in this presentation: The Web and how it works Difference between Web pages and web sites Web browsers and Web servers HTML purpose and structure.
Happy Hacking HTML5! Group members: Dongyang Zhang Wei Liu Weizhou He Yutong Wei Yuxin Zhu.
1 Subspace: Secure Cross Domain Communication for Web Mashups Collin Jackson and Helen J. Wang Mamadou H. Diallo.
Presented by…. Group 2 1. Programming language 2Introduction.
JavaScript, Fourth Edition Chapter 12 Updating Web Pages with AJAX.
Chapter 6 The World Wide Web. Web Pages Each page is an interactive multimedia publication It can include: text, graphics, music and videos Pages are.
Embedding CenterView and Hosting External Content.
10/13/2015 ©2006 Scott Miller, University of Victoria 1 Content Serving Static vs. Dynamic Content Web Servers Server Flow Control Rev. 2.0.
Session: 1. © Aptech Ltd. 2Introduction to the Web / Session 1  Explain the evolution of HTML  Explain the page structure used by HTML  List the drawbacks.
WEB DESIGN. warming up WEB DESIGN  Look at the HOMEPAGE OF YAHOO on page 56  Answer the following questions: 1) Why do people create and publish web.
Building Secure Web Applications With ASP.Net MVC.
The Intranet.
1 3 Computing System Fundamentals 3.4 Networked Computer Systems.
 Registry itself is easy and straightforward in implementation  The objects of registry are actually complicated to store and manage  Objects of Registry.
1 WWW. 2 World Wide Web Major application protocol used on the Internet Simple interface Two concepts –Point –Click.
University of Central Florida The Postman Always Rings Twice: Attacking & Defending postMessage in HTML5 Websites Ankur Verma University of Central Florida,
21/12/20151 T h i s p r e s e n t a t i o n w i l l p r o b a b l y i n v o l v e a u d i e n c e d i s c u s s i o n, w h i c h w i l l c r e a t e a.
Web Design and Development. World Wide Web  World Wide Web (WWW or W3), collection of globally distributed text and multimedia documents and files 
Web Server.
Front end (user interfaces) Facilitating the user‘s interaction with the SandS services and processes I. Mlakar, D. Ceric, A. Lipaj Valladolid, 17/12/2014.
Internet Applications (Cont’d) Basic Internet Applications – World Wide Web (WWW) Browser Architecture Static Documents Dynamic Documents Active Documents.
Web Technology (NCS-504) Prepared By Mr. Abhishek Kesharwani Assistant Professor,UCER Naini,Allahabad.
Search Engine and Optimization 1. Introduction to Web Search Engines 2.
THE FUTURE IS HERE: APPLICATION- AWARE CACHING BY ASHOK ANAND.
MICROSOFT AJAX CDN (CONTENT DELIVERY NETWORK) Make Your ASP.NET site faster to retrieve.
National College of Science & Information Technology.
E-Business Infrastructure PRESENTED BY IKA NOVITA DEWI, MCS.
4.01 How Web Pages Work.
4.01 How Web Pages Work.
The Role of Tool Support in Public Policies and Accessibility
4.01 How Web Pages Work.
Project 1 Introduction to HTML.
Essential tools for implementing and testing websites
The Intranet.
CISC103 Web Development Basics: Web site:
Chapter 1 Introduction to HTML.
Node.js Express Web Applications
Ad-blocker circumvention System
Internet and Intranet.
Data Virtualization Tutorial… CORS and CIS
Introduction Web Environments
AJAX.
Web Caching? Web Caching:.
MapServer In its most basic form, MapServer is a CGI program that sits inactive on your Web server. When a request is sent to MapServer, it uses.
Network Programming Lecture 4: Message Posting
Internet and Intranet.
SEARCH ENGINE OPTIMIZATION SEO. What is SEO? It is the process of optimizing structure, design and content of your website in order to increase traffic.
Episerver Performance A-Z
CISC103 Web Development Basics: Web site:
AMP.
AMP Up Your Website uWestFest 2017.
Web Page Development Tools
Web Systems Development (CSC-215)
Web Design & Development
Internet and Intranet.
Lesson 1 The Web.
Web Page Development Tools
MASTER PAGES.
Traditional Internet Applications
4.01 How Web Pages Work.
Client-Server Model: Requesting a Web Page
Your computer is the client
4.01 How Web Pages Work.
Internet and Intranet.
Yale Digital Conference 2019
Presentation transcript:

AMP Cache Sandeep Davu

What is AMP?

= Accelerated Mobile Pages AMP is an open standard developed by Google to make the mobile web faster. 1 AMP HTML 2 AMP Viewer 3 AMP Cache HTML with some restrictions and AMP extensions Static layout Inline CSS No <script> tags Prefetch and Prerender AMP page in a customized iFrame. Fetch content in parallel. Only Cache and Serve AMP Content. Google and Cloudflare are the AMP Caches available for now. AMP Cache approach is a deviation from the traditional origin approach. The domain that servers the pages should have the amp page.

Cache AMP CACHE – URL FORMAT, VALIDATION, CACHE UPDATE Origin is not google. So validation is done to ensure that the document is indeed AMP compliant before serving and Caching.

Why AMP ? To give user a consistent Yahoo Experience even for third party content. To keep the user on the Yahoo Homepage

What More? We want to keep the content in-house How? Host our own AMP Cache Why? Own the metrics. Do custom optimizations. Drive publishers to come to Yahoo for AMP Cache support. AMP Ecosystem is very suggestive of hosting AMP Caches. There are certain guidelines that we have to comply to be a AMP Cache.

AMPCache Architecturewant to be?

AMP Cache Layer 1 ATS AMP requests are routed through AMP Cache. www-reuters-com.amp.yimg.com/c/s/www.reuters.com/sample.html www.yahoo.com/amphtml/sample.html ATS Remap lua plugin Computes query URL to pass to validator amp-validator.yahoo.com/?url=www.reuters.com/amphtml/sample.html Send the request through Caching Layer Layer 2 caching Layer Carp for sending to the right node. SWR for updating the Cache. Caches valid responses from AMP Validator.

AMP Validator Ensure cache only contains valid AMP pages Express Service that uses open source amp-validator NPM package. Sends the AMP request to the origin servers based on the query URL. Validates the response before sending it back to ATS Else transforms response to display errors

Future Plans AMP Cache Update API Publishers can perform CRUD operations on their cached resources in our AMP cache example-com.cdn.ampproject.com/update-cache/example.com/c/s/sample.html?amp_action=flush&amp_url_signature=<sig_val> Security - CSP Safeguard against XSS and data injection. Get Certified with Google CORS headers.