@@ -3,7 +3,7 @@ simple-cache
33
44[ ![ Build Status] ( https://travis-ci.org/splitice/simple-cache.svg?branch=master )] ( https://travis-ci.org/splitice/simple-cache )
55
6- A simple on disk small / large key value store with LRU
6+ A simple on disk small / large key value store with LRU. Now also includes a monitoring API.
77
88## Building
99Compile with the provided Makefile. Requires a GCC version with C++11 support. Tested with gcc-4.8.
@@ -20,7 +20,7 @@ Compile with the provided Makefile. Requires a GCC version with C++11 support. T
2020
2121## Requests
2222
23- ### Get Key Value
23+ ### Cache: Get Key Value
2424** GET /table/key HTTP/1.1**
2525
2626Get the value of key in table
@@ -65,7 +65,7 @@ $ curl http://127.0.0.1:8000/table/key -XGET -v
6565key value
6666```
6767
68- ## Insert or Update Key
68+ ## Cache: Insert or Update Key
6969** PUT /table/key HTTP/1.1**
7070
7171Put (Set or inset) a value (post data) into key in table
9393* Connection #0 to host 127.0.0.1 left intact
9494```
9595
96- ## Delete Key
96+ ## Cache: Delete Key
9797** DELETE /table/key HTTP/1.1**
9898
9999Delete the key in table
@@ -118,7 +118,7 @@ DELETED
118118* Connection #0 to host 127.0.0.1 left intact
119119```
120120
121- ## Delete / Purge table
121+ ## Cache: Delete / Purge table
122122** DELETE /table HTTP/1.1**
123123
124124Delete table, effectively purging table
@@ -162,7 +162,7 @@ DELETED
162162* Connection #0 to host 127.0.0.1 left intact
163163```
164164
165- ## List table contents
165+ ## Cache: List table contents
166166** GET /table HTTP/1.1**
167167
168168Get a listing of keys in the table. NOTE: This may return duplicates
207207* Closing connection 0
208208```
209209
210- ** Request headers supported:**
210+ ** Cache: Request headers supported:**
211211
212212GET (key):
213213 - None
223223DELETE:
224224 - None
225225
226+ ** Monitoring: Get root page (Also available as HEAD):**
227+ ** GET / HTTP/1.1**
228+
226229### Block File
227230```
228231-----------------------------------------
0 commit comments