@webqit/webflo 0.8.75 → 0.8.76

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/package.json CHANGED
@@ -12,7 +12,7 @@
12
12
  "vanila-javascript"
13
13
  ],
14
14
  "homepage": "https://webqit.io/tooling/webflo",
15
- "version": "0.8.75",
15
+ "version": "0.8.76",
16
16
  "license": "MIT",
17
17
  "repository": {
18
18
  "type": "git",
@@ -459,6 +459,13 @@ export async function run(hostSetup, request, response, Ui, flags = {}, protocol
459
459
  }
460
460
  });
461
461
 
462
+ // -------------------
463
+ // Important no-caching for non-"get" requests
464
+ // -------------------
465
+ if (httpMethodName !== 'get' && !response.getHeader('Cache-Control')) {
466
+ response.setHeader('Cache-Control', 'no-store');
467
+ }
468
+
462
469
  // -------------------
463
470
  // Send
464
471
  // -------------------