- AMP:Building Accelerated Mobile Pages
- Ruadhan O'Donoghue
- 77字
- 2021-07-08 10:03:56
AMP URLs
It's worth noting that a side-effect of the AMP Cache is that AMP documents will have a separate URL for the cached version. In fact, AMP documents have three different kinds of URL. For domain example.com, these will be:
- Original URL:
https://example.com/amp_doc.html
- AMP Cache URL:
https://example-com.cdn.ampproject.org/c/s/example.com/amp_doc.html
- AMP Viewer URL (when viewing AMP pages from Google search results):
https://www.google.com/amp/example.com/amp_doc.html
Having three URLs might be a little confusing, but they're necessary for caching and pre-rendering in AMP.
推薦閱讀
- ASP.NET Web API:Build RESTful web applications and services on the .NET framework
- Oracle Database In-Memory(架構與實踐)
- 從0到1:HTML+CSS快速上手
- Julia Cookbook
- HDInsight Essentials(Second Edition)
- Drupal 8 Module Development
- QGIS By Example
- 數據結構案例教程(C/C++版)
- Android驅動開發權威指南
- Web App Testing Using Knockout.JS
- Penetration Testing with the Bash shell
- Ubuntu Server Cookbook
- 深入理解Zabbix監控系統
- C語言進階:重點、難點與疑點解析
- 軟件自動化測試實戰解析:基于Python3編程語言