emilk / emilk/eframe_template

clarification on how to deactivate the cache in development

Open
#84 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
1.2k
Forks
230
Avg merge
11m
Merged PRs (30d)
1

Description

In the ReadMe you have mentioned

> `assets/sw.js` script will try to cache our app, and loads the cached version when it cannot connect to server allowing your app to work offline (like PWA). appending `#dev` to `index.html` will skip this caching, allowing us to load the latest builds during development.

Please could you indicate where to add the `#dev`. Should I add it to the `filesToCache` variable inside the `sw.js`, should i rename the `index.html` at the root folder or should I append it to the content of `index.html` at the root folder.

Sorry if my question seems dumb

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.