내 바니시 설정에서이 n_gunzip을 명확히하는 데 도움을 드리고 싶습니다.바니시가 총구를 많이하고있는 것 같습니다.
다음은 몇 가지 웹 사이트를 실행하는 서버에 대한 나의 통계입니다.
34837 0.00 0.50 cache_hit - Cache hits
1022 0.00 0.01 cache_hitpass - Cache hits for pass
4672 0.00 0.07 cache_miss - Cache misses
2175 . . n_expired - N expired objects
85 0.00 0.00 n_gzip - Gzip operations
3512 0.00 0.05 n_gunzip - Gunzip operations
문제는 내가 총성이 많은 것으로 생각하는 것입니다. 전체 압축률의 약 7 %입니다. 정말 gzip을 지원하지 않는 브라우저로 사용자가 내 웹 사이트에 액세스하는 것을 믿지 않으므로 gunzip이 왜 발생하는지 이해할 수 없습니다.
sub vcl_recv {
if (req.http.Accept-Encoding) {
if (req.http.Accept-Encoding ~ "gzip") {
# If the browser supports it, we'll use gzip.
set req.http.Accept-Encoding = "gzip";
}
else if (req.http.Accept-Encoding ~ "deflate") {
# Next, try deflate if it is supported.
set req.http.Accept-Encoding = "deflate";
}
else {
# Unknown algorithm. Remove it and send unencoded.
unset req.http.Accept-Encoding;
}
}
...
내 니스가 제대로 작동하고 :
내가 내 VCL에 인코딩과 관련된 모든는 다음과 같습니다? 이것은 정상적인 행동입니까?