You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- --cache without args uses cache-control 3600 header
- --cache=DURATION for explcit cache duration
- use --cache for test server to speed up runs a bit
@@ -51,9 +67,16 @@ async function verifyStartup(ws, port) {
51
67
}
52
68
53
69
functionmain(){
54
-
constoptionDefinitions=[{name: "port",type: Number,defaultValue: 8080,description: "Set the test-server port, The default value is 8080."}];
70
+
constoptionDefinitions=[
71
+
{name: "port",type: Number,defaultValue: 8080,description: "Set the test-server port, The default value is 8080."},
72
+
{name: "cache",type: Number,description: `Set the cache duration in seconds. If flag is present without a value, defaults to ${DEFAULT_CACHE_DURATION}.`},
0 commit comments