I'm integrating Varnish for my site Magento ver 2.3 with the web server using Nginx.

During learning varnish, I encountered some problems:

  • When a request is sent to the server, where is the Varnish's cache stored?
  • Where does varnish's cache come from?

Thanks, everyone for reading.


Varnish can store data in different backends. Default is memory with limited size.

More about varnish storage configuration: https://varnish-cache.org/docs/6.3/users-guide/storage-backends.html

  • Hi @MaciejHarbuz. I know, there're two ways to storage varnish's cache , memory or disk. however, I want to learn more clearly. – Nguyễn Hoàng Tuấn Nov 20 '19 at 6:30
  • In provided link, there is some details about every storage type. Please give me a clue about what kind of detail is important to you. – Maciej Harbuz Nov 20 '19 at 6:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.