- Service Worker Development Cookbook
- Sean Amarasinghe
- 139字
- 2021-07-14 10:05:21
Introduction
You might have encountered, from time to time, having broken images appear on certain websites. This could be because of a number of reasons: the image might not have existed, it might not have been named properly, or the file path in the code might have been incorrect. Whatever the reason it might be, it could impact your website, and could lead the user to think that your website is broken.
Images are not the only resources that are essential to your website. Cascading style sheets (CSS), JavaScript files, and font files are also necessary to make your website appear functional. In this chapter, we are going to look at how to load these resources offline.
Before we start working on loading resources offline, let's find out how we can notify the user that the network is unavailable.
- 兩周自制腳本語言
- 你不知道的JavaScript(中卷)
- Getting Started with Hazelcast(Second Edition)
- C# and .NET Core Test Driven Development
- Python自然語言理解:自然語言理解系統(tǒng)開發(fā)與應用實戰(zhàn)
- Java EE 7 with GlassFish 4 Application Server
- SEO教程:搜索引擎優(yōu)化入門與進階(第3版)
- Mastering ASP.NET Core 2.0
- JavaEE架構與程序設計
- Mastering Bootstrap 4
- 算法訓練營:海量圖解+競賽刷題(入門篇)
- Linux Networking Cookbook
- MySQL數(shù)據(jù)庫應用技術及實戰(zhàn)
- 給產品經理講技術
- CorelDRAW X6中文版應用教程(第二版)