File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -64,4 +64,5 @@ This will install `http-server` globally so that it may be run from the command
6464
6565` -h ` or ` --help ` Print this list and exit.
6666
67- ` -c ` Set cache time (in seconds) for cache-control max-age header, e.g. -c10 for 10 seconds. To disable caching, use -c-1.
67+ ` -c ` Set cache time (in seconds) for cache-control max-age header, e.g. -c10 for 10 seconds
68+ (defaults to '3600'). To disable caching, use -c-1.
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ if (argv.h || argv.help) {
2020 " -e --ext Default file extension if none supplied [none]" ,
2121 " -s --silent Suppress log messages from output" ,
2222 " --cors Enable CORS via the 'Access-Control-Allow-Origin' header" ,
23- " -o Open browser window after starting the server" ,
24- " -c Set cache time (in seconds). e.g. -c10 for 10 seconds." ,
23+ " -o Open browser window after staring the server" ,
24+ " -c Cache time (max-age) in seconds [3600], e.g. -c10 for 10 seconds." ,
2525 " To disable caching, use -c-1." ,
2626 "" ,
2727 " -S --ssl Enable https." ,
You can’t perform that action at this time.
0 commit comments