@budarin/psw-plugin-opfs-serve-range 1.1.9 → 1.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/README.ru.md +3 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -233,7 +233,9 @@ type Unsubscribe = () => void;
|
|
|
233
233
|
onOPFSSkipQuotaExceeded(handler: (event: MessageEvent<EventData>) => void): Unsubscribe
|
|
234
234
|
```
|
|
235
235
|
|
|
236
|
-
### Cache management
|
|
236
|
+
### Cache management utilities
|
|
237
|
+
|
|
238
|
+
Functions to list cached resources, check by URL, and remove by URL. Called from the client (page); use when you need to show the user what is cached and let them delete selected items.
|
|
237
239
|
|
|
238
240
|
- **`listOpfsCachedResources`** — returns the list of cached resources.
|
|
239
241
|
|
package/README.ru.md
CHANGED
|
@@ -223,7 +223,9 @@ type Unsubscribe = () => void;
|
|
|
223
223
|
onOPFSSkipQuotaExceeded(handler: (event: MessageEvent<EventData>) => void): Unsubscribe
|
|
224
224
|
```
|
|
225
225
|
|
|
226
|
-
###
|
|
226
|
+
### Утилиты управления кэшем
|
|
227
|
+
|
|
228
|
+
Функции для получения списка закешированных ресурсов, проверки по URL и удаления по URL. Вызываются на клиенте (страница); нужны, когда надо показать пользователю, что в кэше, и дать удалить выбранное.
|
|
227
229
|
|
|
228
230
|
- **`listOpfsCachedResources`** — возвращает список закешированных ресурсов.
|
|
229
231
|
|