- 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.
推薦閱讀
- 程序員面試白皮書
- OpenDaylight Cookbook
- Moodle Administration Essentials
- Visual Basic 6.0程序設計計算機組裝與維修
- Mastering matplotlib
- MATLAB定量決策五大類問題
- Learning Salesforce Einstein
- 一塊面包板玩轉Arduino編程
- Mastering Backbone.js
- 區塊鏈技術進階與實戰(第2版)
- Fastdata Processing with Spark
- 計算機應用技能實訓教程
- CodeIgniter Web Application Blueprints
- TypeScript圖形渲染實戰:2D架構設計與實現
- Python GUI設計tkinter菜鳥編程(增強版)