@webqit/webflo 0.11.9 → 0.11.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.
Files changed (2) hide show
  1. package/README.md +17 -17
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1260,11 +1260,11 @@ Unless disabled in config, it is factored-in at build time for the application c
1260
1260
  <details>
1261
1261
  <summary>Default Config</summary>
1262
1262
 
1263
- > File: `.webqit/webflo/client.json` | Command: `webflo config client spa_navigation=TRUE`
1264
-
1265
1263
  ```json
1266
1264
  { "spa_navigation": true }
1267
1265
  ```
1266
+
1267
+ > File: `.webqit/webflo/client.json` | Command: `webflo config client spa_navigation=TRUE`
1268
1268
  </details>
1269
1269
 
1270
1270
  ##### SPA State
@@ -1408,11 +1408,11 @@ Webflo client-side applications are intended to provide an app-like-first experi
1408
1408
  <details>
1409
1409
  <summary>Default Config</summary>
1410
1410
 
1411
- > File: `.webqit/webflo/client.json` | Command: `webflo config client enable_service_worker=TRUE`
1412
-
1413
1411
  ```json
1414
- { "enable_service_worker": true }
1412
+ { "service_worker_support": true }
1415
1413
  ```
1414
+
1415
+ > File: `.webqit/webflo/client.json` | Command: `webflo config client service_worker_support=TRUE`
1416
1416
  </details>
1417
1417
 
1418
1418
  ##### Fetching Strategy
@@ -1422,8 +1422,6 @@ Webflo client-side applications are intended to provide an app-like-first experi
1422
1422
  <details>
1423
1423
  <summary>Default Config</summary>
1424
1424
 
1425
- > File: `.webqit/webflo/client.json` | Command: `webflo config client default_fetching_strategy=network-first`
1426
-
1427
1425
  ```json
1428
1426
  { "default_fetching_strategy": "network-first" }
1429
1427
  ```
@@ -1433,6 +1431,8 @@ Webflo client-side applications are intended to provide an app-like-first experi
1433
1431
  ```json
1434
1432
  { "network_first_urls": [ "/logo.png" ] }
1435
1433
  ```
1434
+
1435
+ > File: `.webqit/webflo/worker.json` | Command: `webflo config worker default_fetching_strategy=network-first`
1436
1436
  </details>
1437
1437
 
1438
1438
  + **Cache First** - This strategy tells the Service Worker to always attempt fetching from the cache first for given resources, before fetching from the network. After serving a cached response, or where not found in cache, a network fetch happens and a copy of the response is saved to the cache for next time. (This is good for resources that do not critially need to be fresh to the user.) When not the default strategy, a list of specific URLs that should be fetched this way can be configured.
@@ -1440,8 +1440,6 @@ Webflo client-side applications are intended to provide an app-like-first experi
1440
1440
  <details>
1441
1441
  <summary>Default Config</summary>
1442
1442
 
1443
- > File: `.webqit/webflo/client.json` | Command: `webflo config client default_fetching_strategy=cache-first`
1444
-
1445
1443
  ```json
1446
1444
  { "default_fetching_strategy": "cache-first" }
1447
1445
  ```
@@ -1451,6 +1449,8 @@ Webflo client-side applications are intended to provide an app-like-first experi
1451
1449
  ```json
1452
1450
  { "cache_first_urls": [ "/logo.png" ] }
1453
1451
  ```
1452
+
1453
+ > File: `.webqit/webflo/worker.json` | Command: `webflo config worker default_fetching_strategy=cache-first`
1454
1454
  </details>
1455
1455
 
1456
1456
  + **Network Only** - This strategy tells the Service Worker to always fetch given resources from the network only. They are simply not available when offline. (This is good for resources that critially need to be fresh to the user.) When not the default strategy, a list of specific URLs that should be fetched this way can be configured.
@@ -1458,8 +1458,6 @@ Webflo client-side applications are intended to provide an app-like-first experi
1458
1458
  <details>
1459
1459
  <summary>Default Config</summary>
1460
1460
 
1461
- > File: `.webqit/webflo/client.json` | Command: `webflo config client default_fetching_strategy=network-only`
1462
-
1463
1461
  ```json
1464
1462
  { "default_fetching_strategy": "network-only" }
1465
1463
  ```
@@ -1469,6 +1467,8 @@ Webflo client-side applications are intended to provide an app-like-first experi
1469
1467
  ```json
1470
1468
  { "network_only_urls": [ "/logo.png" ] }
1471
1469
  ```
1470
+
1471
+ > File: `.webqit/webflo/worker.json` | Command: `webflo config worker default_fetching_strategy=network-only`
1472
1472
  </details>
1473
1473
 
1474
1474
  + **Cache Only** - This strategy tells the Service Worker to always fetch given resources from the cache only. (This is good for resources that do not change often.) When not the default strategy, a list of specific URLs that should be fetched this way can be configured. The listed resources are pre-cached ahead of when they'll be needed - and are served from the cache each time. (Pre-caching happens on the one-time `install` event of the Service Worker.)
@@ -1476,8 +1476,6 @@ Webflo client-side applications are intended to provide an app-like-first experi
1476
1476
  <details>
1477
1477
  <summary>Default Config</summary>
1478
1478
 
1479
- > File: `.webqit/webflo/client.json` | Command: `webflo config client default_fetching_strategy=cache-only`
1480
-
1481
1479
  ```json
1482
1480
  { "default_fetching_strategy": "cache-only" }
1483
1481
  ```
@@ -1487,6 +1485,8 @@ Webflo client-side applications are intended to provide an app-like-first experi
1487
1485
  ```json
1488
1486
  { "cache_only_urls": [ "/logo.png" ] }
1489
1487
  ```
1488
+
1489
+ > File: `.webqit/webflo/worker.json` | Command: `webflo config worker default_fetching_strategy=cache-only`
1490
1490
  </details>
1491
1491
 
1492
1492
  In all cases above, the convention for specifying URLs for a strategy accepts [URL patterns](https://developer.mozilla.org/en-US/docs/Web/API/URLPattern) - against which URLs can be matched on the fly. For example, to place all files in an `/image` directory (and subdirectories) on the *Cache First* strategy, the pattern `/image/*` can be used. To place all `.svg` files in an `/icons` directory (including subdirectories) on the *Cache Only* strategy, the pattern `/icons/*.svg` can be used. (Specifically for the *Cache Only* strategy, patterns are resolved at Service Worker build-time, and each pattern must match, at least, a file.)
@@ -1720,15 +1720,15 @@ Webflo natively supports OOHTML in full! But it is also possible to switch this
1720
1720
  <details>
1721
1721
  <summary>Default Config</summary>
1722
1722
 
1723
- > File: `.webqit/webflo/client.json` | Command: `webflo config client oohtml_support=full`
1724
-
1725
- > File: `.webqit/webflo/client.json` | Command: `webflo config server oohtml_support=full`
1726
-
1727
1723
  ```json
1728
1724
  { "oohtml_support": "full" }
1729
1725
  ```
1730
1726
 
1731
1727
  *Values: `full`, `namespacing`, `scripting`, `templating`, `none` - See [details at OOHTML SSR](https://github.com/webqit/oohtml-ssr#options)*
1728
+
1729
+ > File: `.webqit/webflo/client.json` | Command: `webflo config client oohtml_support=full`
1730
+
1731
+ > File: `.webqit/webflo/server.json` | Command: `webflo config server oohtml_support=full`
1732
1732
  </details>
1733
1733
 
1734
1734
 
package/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "vanila-javascript"
13
13
  ],
14
14
  "homepage": "https://webqit.io/tooling/webflo",
15
- "version": "0.11.9",
15
+ "version": "0.11.10",
16
16
  "license": "MIT",
17
17
  "repository": {
18
18
  "type": "git",