chore: fix workbox precaching page link + weird mdx structure breaking Crowdin (#8810)

This commit is contained in:
Sébastien Lorber 2023-03-23 16:07:46 +01:00 committed by GitHub
parent a51ec623df
commit da9f86409d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 10 additions and 30 deletions

View file

@ -78,12 +78,8 @@ App installation requires the HTTPS protocol and a valid manifest.
We enable users to browse a Docusaurus site offline, by using service-worker precaching.
> <h3>
> <a href="https://developers.google.com/web/tools/workbox/modules/workbox-precaching">
> {'What is Precaching?'}
> </a>
> </h3>
>
The [workbox-precaching](https://developers.google.com/web/tools/workbox/modules/workbox-precaching) page explains the idea:
> One feature of service workers is the ability to save a set of files to the cache when the service worker is installing. This is often referred to as "precaching", since you are caching content ahead of the service worker being used.
>
> The main reason for doing this is that it gives developers control over the cache, meaning they can determine when and how long a file is cached as well as serve it to the browser without going to the network, meaning it can be used to create web apps that work offline.