<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://briansnelson.com/index.php?action=history&amp;feed=atom&amp;title=Setup_Varnish_for_Magento</id>
		<title>Setup Varnish for Magento - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://briansnelson.com/index.php?action=history&amp;feed=atom&amp;title=Setup_Varnish_for_Magento"/>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Setup_Varnish_for_Magento&amp;action=history"/>
		<updated>2026-06-04T04:07:26Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://briansnelson.com/index.php?title=Setup_Varnish_for_Magento&amp;diff=420&amp;oldid=prev</id>
		<title>Brian: /* Additional Articles */</title>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Setup_Varnish_for_Magento&amp;diff=420&amp;oldid=prev"/>
				<updated>2014-01-19T06:31:57Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Additional Articles&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 06:31, 19 January 2014&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 39:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 39:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Additional Articles===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Additional Articles===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [[Setup Varnish Cache]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [[Setup Varnish for Wordpress]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [[Setup Varnish for MediaWiki]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [[Setup Varnish - Multiple Domains]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;* [[Setup Varnish - Multiple Ipaddress]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;*[[Script to Clear a Page from Varnish Cache]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Brian</name></author>	</entry>

	<entry>
		<id>https://briansnelson.com/index.php?title=Setup_Varnish_for_Magento&amp;diff=418&amp;oldid=prev</id>
		<title>Brian: Created page with &quot;==Setting Varnish with Magento==  Varnish will working without using extensions, but with eCommerace sites, you do not want to cache your shopping cart or wishlists. Fortunate...&quot;</title>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Setup_Varnish_for_Magento&amp;diff=418&amp;oldid=prev"/>
				<updated>2014-01-19T06:28:34Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Setting Varnish with Magento==  Varnish will working without using extensions, but with eCommerace sites, you do not want to cache your shopping cart or wishlists. Fortunate...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Setting Varnish with Magento==&lt;br /&gt;
&lt;br /&gt;
Varnish will working without using extensions, but with eCommerace sites, you do not want to cache your shopping cart or wishlists. Fortunately Nexcess has developed a free and open-source Magento-Varnish extension called Turpentine that has solved this problem.  Not only does this extension have great features like allowing custom exceptions for different routes and allowing users to purge the cache from the Magento Admin, it also comes with pre-configured VCL configs for Varnish 2.1 and 3.0, making implementation easy.&lt;br /&gt;
&lt;br /&gt;
===Start off by install varnish on your server===&lt;br /&gt;
&lt;br /&gt;
You can follow the guide to install varnish [[Setup_Varnish_Cache|Click Here]]&lt;br /&gt;
&lt;br /&gt;
===Setting Up Magento to Control Varnish===&lt;br /&gt;
&lt;br /&gt;
There are number of extensions that you can use to setup varnish but one of the most talked about is Turpentine&lt;br /&gt;
&lt;br /&gt;
Now you can do this a number of ways, but the fastest is via the command line, since we are already there to setup varnish&lt;br /&gt;
&lt;br /&gt;
 ./mage install connect20.magentocommerce.com/community Nexcessnet_Turpentine&lt;br /&gt;
&lt;br /&gt;
The exension will be installed under app/code/community/Nexcessnet/Turpentine/. As mentioned, the configuration VCL is automatically generated by the Turpentine extension, so we don’t need to worry about editing it manually.&lt;br /&gt;
&lt;br /&gt;
Now, login to the Magento Admin Panel and go to &lt;br /&gt;
&lt;br /&gt;
'''System -&amp;gt; Configuration -&amp;gt; turpentine -&amp;gt; Varnish Options'''&lt;br /&gt;
&lt;br /&gt;
'''Backend Host -&amp;gt; 127.0.0.1'''&lt;br /&gt;
'''Backend Port -&amp;gt; 81'''&lt;br /&gt;
&lt;br /&gt;
You will also need to get your Varnish authentication Key&lt;br /&gt;
&lt;br /&gt;
 cat /etc/varnish/secret&lt;br /&gt;
&lt;br /&gt;
Copy and Paste that into your Varnish authentication key&lt;br /&gt;
&lt;br /&gt;
'''Now -&amp;gt; Click Save Config'''&lt;br /&gt;
&lt;br /&gt;
Last step is symlink the default.vcl to your Magento store&lt;br /&gt;
&lt;br /&gt;
 cd /etc/varnish &amp;amp;&amp;amp; cp default.vcl default.vcl-bk&lt;br /&gt;
 ln -s /path/to/magento/var/default.vcl default.vcl&lt;br /&gt;
 /etc/init.d/varnish restart&lt;br /&gt;
&lt;br /&gt;
===Additional Articles===&lt;/div&gt;</summary>
		<author><name>Brian</name></author>	</entry>

	</feed>