Static cover in varnish 5.2.1

I'm trying to cache statistics, like images on my site with varnish, but cache control continues to show MISS:
This is my configuration:

under vcl_backend_response {
if (bereq.url ~ "^[^?]* . (7z | avi | bmp | bz2 | css | csv | doc | docx | eot | flac | flif | gz | ico | jpeg | jpg | js | less | mk | mkv | mov | mp3 | mp4 | mpeg | mpg | odt | otf | ogg | ogm | opus | pdf | png | ppt | pptx | rar | rtf | svg | svg | swf | tar | tbz | tgz | ttf | txt | txz | wav | webm | webp | woff | woff2 | xls | xlsx | xml | xz | zip) ( ?. *)? $ ") {
beresp.http.set-cookie undefined;
}
return (deliver);
}


under vcl_deliver {
if (obj.hits> 0) {
set resp.http.X-Cache = "HIT";
} other {
set resp.http.Cache-Control = "MISS";
}
}

Thank you!