Skip to content

Commit 0ac3772

Browse files
committed
add command line flags to readme
1 parent 2c29363 commit 0ac3772

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

ProxyCache.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ public static void main(String args[]) {
182182
if(argument.equals("-e") || argument.equals("--expires")) {
183183
// when validating the cache also check the expires header, this can reduce the number of requests out to the web.
184184
expires = true;
185-
System.out.println("Check expires header when checking the freshniss of an object in the cache.");
185+
System.out.println("Check expires header when checking the freshness of an object in the cache.");
186186
}
187187
}
188188

readme.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,12 @@ java ProxyCache 5001
2828

2929
Next change your browsers or system proxy settings and start browsing the web.
3030

31+
### Commandline flags
32+
33+
* -a, --secure
34+
* Proxy HTTPS/TLS connections. (experimental as it can course 100% CPU usage)
35+
* -e --expires
36+
* Check expires header when checking the freshness of an object in the cache.
3137
## Generating JavaDocs
3238

3339
### With make

0 commit comments

Comments
 (0)