xhttpcache icon indicating copy to clipboard operation
xhttpcache copied to clipboard

如何开启 https?

Open ivmm opened this issue 9 years ago • 3 comments

配置文件没有看到配置证书的地方

ivmm avatar Sep 26 '16 13:09 ivmm

[xhttpd_frontend] pemfile= privfile= 这里配置证书文件路径,就自动开启HTTPS了; 如果留空就是不启用HTTPS。

0xsky avatar Sep 26 '16 14:09 0xsky

支持 h2 么,有相关清理缓存的机制么?

ivmm avatar Sep 26 '16 14:09 ivmm

目前不支持H2。

清理缓存? xhttpcache的etag相关逻辑是采用LRU算法,etag相关参数可在配置文件里设置, 同时对于通过redis协议接口kv相关命令操作的数据,set命令支持超时时间; 同时,也支持expire/ttl 命令,对数据设置过期时间。

0xsky avatar Sep 27 '16 01:09 0xsky