Varnish cache related interview questions for developers

Following are some varnish related questions for developers. The caching meachnism of http protocol is an important aspect of Web. How the cacheing works is really handy to know.

1. Why http is called stateless protocol
2. Which header is responsible to keep connection with the browser and server
3. Can varnish be used  as a load balancer?
4. What is reverse proxy and how varnish behave as a reverse proxy?
5. How Etag header works and when the server responses with 304?
6. Why expires is not considered to varnish if cache-control is available?
7. Does vcl code translate to C code in varnish?
8. When does varnish calls vcl_hash?
9. Why obj is available inside vcl_error and it inherits from which object?
10. Why varnish does not recommed 302 temporary redirect?


Other interview questions:
https://handy-code.blogspot.com/2018/04/http-protocol-related-interview.html

Comments