Clear database L2 cache

PUT
api/databases/{dbid}/clearcache
This request is used to clear L2 cache. L2 cache is cleared automatically each 30 minutes, however, if too much data gets cached quickly (for example, your script has loaded lots of data into the database within several minutes), you can use this request to increase performance.

Request:

Argument Type Description
dbid GUID  The ID of the database

Response:

Content

Type name Description
Object 

Request:
  1. PUT api/databases/ec5a34c2-7062-4be7-ade9-c15acefcdbb8/clearcache
  2. Accept: text/json
  3. Accept-Encoding: deflate,deflate
  4. Host: localhost:6496
  5. Content-Length: 0
  6. Connection: Keep-Alive
Response:
  1. Transfer-Encoding: chunked
  2. Content-Encoding:
  3. Cache-Control: no-store
  4. Content-Type: text/json; charset=utf-8
  5. Date: Mon, 14 Jan 2013 16:13:16 GMT
  6. Set-Cookie: sid=4ea5727b-6496-4ea1-9226-c211edd832d3; path=/;
  7. Server: Microsoft-HTTPAPI/2.0