nuster
nuster copied to clipboard
Confirm cache content
I want to search cache content by url.
I am very interested in "nuster". (Especially, cache purging by regex : ) )
I am really sorry to have asked you so much.
Not at all, feel free to ask anything:)
What do you mean by search cache content by url
? can you give me an example?
Thank you : )
Example
If you send a request to "nuster" in some way, the result of content like the following will be returned.
Sample Request
curl -X <confirm method> -H "Host: example.com" http://<nuster>/sample.index
Sample Response
[Object Info]
Status code: 200
Max-age: 86400
Last-Modified: N/A
Expires: Sat, 09 Jun 2018 05:20:43 GMT
Content-Length: 0(0)
Current date: Fri, 08 Jun 2018 12:07:35 GMT
Current age: 24410
Last verify: Fri, 08 Jun 2018 05:20:45 GMT
Next verify: Sat, 09 Jun 2018 05:20:45 GMT
[Stored Header]
HTTP/1.1 200 OK
Server: openresty
Content-Type: text/html; charset=UTF-8
Transfer-Encoding: chunked
Vary: Accept-Encoding
X-Agent: Mozilla/5.0 (Unknown; Linux x86_64) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.1.1 Safari/538.1
X-Device: @pc
Cache-Control: max-age=86400
Content-Encoding: gzip
Via: 1.1 google
Alt-Svc: clear
I see, interesting, thank you, I will see what I can do