<?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=Magento_2_Purge_Varnish_Cache</id>
		<title>Magento 2 Purge Varnish Cache - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://briansnelson.com/index.php?action=history&amp;feed=atom&amp;title=Magento_2_Purge_Varnish_Cache"/>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Magento_2_Purge_Varnish_Cache&amp;action=history"/>
		<updated>2026-06-04T04:07:25Z</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=Magento_2_Purge_Varnish_Cache&amp;diff=985&amp;oldid=prev</id>
		<title>Brian: Created page with &quot;===Magento 2 Purge Varnish Cache===  Magento 2 has the built in functionality to use Varnish Cache  This can be setup with:   &lt;nowiki&gt;bin/magento setup:config:set --http-cache...&quot;</title>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Magento_2_Purge_Varnish_Cache&amp;diff=985&amp;oldid=prev"/>
				<updated>2019-06-19T01:04:59Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;===Magento 2 Purge Varnish Cache===  Magento 2 has the built in functionality to use Varnish Cache  This can be setup with:   &amp;lt;nowiki&amp;gt;bin/magento setup:config:set --http-cache...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===Magento 2 Purge Varnish Cache===&lt;br /&gt;
&lt;br /&gt;
Magento 2 has the built in functionality to use Varnish Cache&lt;br /&gt;
&lt;br /&gt;
This can be setup with:&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;bin/magento setup:config:set --http-cache-hosts=127.0.0.1:6081&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Once this is set, the application should handle sending requests to varnish to purge the full page cache. &lt;br /&gt;
&lt;br /&gt;
===Purge Varnish Cache using Curl===&lt;br /&gt;
&lt;br /&gt;
Otherwise, you can send CURL requests as well like the following:&lt;br /&gt;
&lt;br /&gt;
Using Curl to purge the varnish cache from the CLI is done with the following command&lt;br /&gt;
&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;curl -H &amp;quot;X-Magento-Tags-Pattern: .*&amp;quot; -X PURGE 127.0.0.1:6081&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Happy Varnish Speeds by default&lt;/div&gt;</summary>
		<author><name>Brian</name></author>	</entry>

	</feed>