<div dir="ltr">Hi,<br><br>a few weeks ago, i asked the mailing list about my varnish statistics, tracked under prometheus using varnish exporter (varnishstat wrapper).<br>2 weeks ago, one of our developpers activated ESI using these changes (second modification is for a specific case but i put it in case of)<br>------------------------------------<br># vcl_backend_response is called after a document has been successfully retrieved from the backend<br>sub vcl_backend_response {<br>        set beresp.do_esi = true;<br>------------------------------------<br>    if(req.http.Cookie ~ "[^?]*custom_data_cookie=.*"){<br>    -    if(req.url !~ "^/([a-z]{2}/)$" && req.url !~ "^/([a-z]{2}/)(&|\?)" && req.url !~ "^/(&|\?)" && req.url != "/" && req.url !~ "^\/([a-z]{2}+\/)?((?!(ofertas|offres|aanbiedingen|angebote|offers)\b)[^\/]+\/)+([^\/]+\/)+([^\/]+\/)+([^\/]+\/)+$"){<br>    +    if(req.url !~ "^/([a-z]{2}/)$" && req.url !~ "^/([a-z]{2}/)(&|\?)" && req.url !~ "^/(&|\?)" && req.url != "/" && req.url !~ "^\/([a-z]{2}+\/)?((?!(ofertas|offres|aanbiedingen|angebote|offers)\b)[^\/]+\/)+([^\/]+\/)+([^\/]+\/)+([^\/]+\/)+$" && req.url !~ "^\/([a-z]{2}\/)?esi\/(.+)?"){<br>            return(pass);<br>        }<br>    }<br>------------------------------------<br>and configure our website menu to be edge side included (at maximum 50 combinations max using country and language used in parameter).<br><br>After this modification, multiple metrics changed in the supervision which i do not understand :<br>- my number of varnish objects (main_n_object) went from 337 000 entries to 475 000 entries ... i really don't understand this since i thought my cache memory<br>was full before and since we only added 50 ESI keys in the cache with this update<br>- my cache hit (main_cache_hit) went from 2.5 % to 22% ... but pass, miss and synth rates did not move, so the sum of all my varnish outputs are now upper than 110 % ... (before they were equals to 100%)<br>- my backend output (beresp_hdrbytes) total dropped from 2MB to 85KB ... however our websites are working fine<br><br>Can you help me understand this ?<br><br>Thanks<br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div style="color:rgb(136,136,136);font-size:12.8px"><font color="#888888">Alexandre THAVEAU<br><b>04 72 89 22 11</b><br><a href="mailto:rgz@mister-auto.com" style="color:rgb(17,85,204)" target="_blank">alexandre.thaveau@mister-auto.com</a></font></div></div></div></div></div></div>