<HTML>
<HEAD>
<TITLE>Re: .vcl rule to pass no content</TITLE>
</HEAD>
<BODY>
<FONT FACE="Arial"><SPAN STYLE='font-size:11pt'>The should work for you if you get a content type and length from backend. This works on varnish 2.15<BR>
<BR>
I placed this is my fetch block.<BR>
<BR>
# Don't cache html objects smaller than 100 bytes<BR>
if ((beresp.status == 200) && (beresp.http.Content-Length ~<BR>
"^([0-2]|\d)\d") && ( beresp.http.Content-type ~ "html") ) {<BR>
   log "TooSmall: Pass on ( " req.url " ) small objects: " beresp.http.Content-Length ;<BR>
   return(pass);<BR>
} <BR>
<BR>
Richard</SPAN></FONT>
</BODY>
</HTML>