What is Varnish?
Article Number: 943 | Rating: Unrated | Last Updated: Fri, Nov 11, 2016 at 12:45 PM
What is Varnish?
Varnish accelerates content-heavy websites. It is a reverse web proxy caching system that intercepts all queries before reaching the web server. Varnish focuses exclusively on websites created with HTTP and works with both static and dynamic content.
Many web requests produce an identical response, therefore a website will run more efficiently if these responses are cached rather than generated. Varnish stores its cache in virtual memory instead of on the hard drive, thereby conserving CPU resources otherwise consumed by these repeated requests. This accelerates the website's function as Varnish increases the rate at which it responds to requests.
Varnish primarily uses VCL and most policy decisions are made according to VCL code. This makes Varnish somewhat more adaptable than other HTTP accelerators; however, poor malloc or pthreads implementation will diminish its performance.
For proprietary information about Varnish, visit the Varnish Software website.
There are no attachments for this article.
How to improve Magento maintenance mode
Added on Mon, Feb 24, 2014
How to patch your Magento store
Added on Mon, Jan 11, 2016
How to remove index.php from your Magento site URL
Added on Wed, May 31, 2017
How to change Magento base URLs
Added on Tue, Jun 12, 2018
How to find and remove hanging Magento cron jobs with SSH
Added on Thu, Oct 30, 2014
What are some useful Magento scripts?
Added on Mon, Oct 13, 2014
How to protect your Magento store from the Credit Card Hijack exploit
Added on Tue, Nov 22, 2016
How to improve the security of your Magento store
Added on Wed, Nov 12, 2014
How to create Magento and WordPress dev sites
Added on Wed, Aug 3, 2016
How to install Magento CE v1.8 and later
Added on Thu, Mar 6, 2014