官术网_书友最值得收藏!

PWA technical requirements

At a minimum, there are three core technical requirements to be a PWA. A website must have a web manifest file, be served using HTTPS, and must register a service worker with a fetch event handler. You will dive deeper into each one of these requirements in future chapters.

The web manifest drives the Add to Homescreen experience. HTTPS provides a layer of security and trust between your application and the browser. The service worker provides the extensible backbone for event-driven functionality to execute on a separate thread from the user interface.

A PWA should also use an application shell or common HTML and CSS. This is the most common application of Chrome, which is used on just about every page on the site. If you have any experience with single page applications, you should understand what an application shell is.

主站蜘蛛池模板: 萍乡市| 淳安县| 仁布县| 天峻县| 东安县| 苗栗市| 平南县| 嵊泗县| 福贡县| 扶余县| 岐山县| 霞浦县| 陕西省| 珲春市| 东方市| 磴口县| 渝北区| 收藏| 乐安县| 南部县| 沿河| 黄平县| 宝应县| 沂源县| 万山特区| 陵水| 大丰市| 邵武市| 汕头市| 乃东县| 商城县| 东阳市| 永修县| 开鲁县| 平罗县| 武鸣县| 乌恰县| 雅江县| 彭泽县| 南和县| 佛坪县|