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

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.

主站蜘蛛池模板: 仪征市| 襄汾县| 张家界市| 兴山县| 宜兰市| 阳泉市| 怀化市| 乌海市| 岱山县| 遂宁市| 阿坝| 玉山县| 大连市| 昭通市| 永兴县| 景谷| 兰州市| 平南县| 桦南县| 眉山市| 宜君县| 阿鲁科尔沁旗| 湟源县| 彰化县| 大余县| 常德市| 海伦市| 明光市| 新绛县| 土默特左旗| 澎湖县| 呼图壁县| 荥经县| 北流市| 南康市| 鄂托克前旗| 沽源县| 台湾省| 楚雄市| 民和| 通辽市|