<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Control WebPanel Wiki &#187; Varnish cache</title>
	<atom:link href="https://wiki.centos-webpanel.com/tag/varnish-cache/feed" rel="self" type="application/rss+xml" />
	<link>https://wiki.centos-webpanel.com</link>
	<description>CentOS WebPanel Wiki</description>
	<lastBuildDate>Wed, 12 Feb 2025 20:38:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>How to install Varnish</title>
		<link>https://wiki.centos-webpanel.com/how-to-install-varnish</link>
		<comments>https://wiki.centos-webpanel.com/how-to-install-varnish#comments</comments>
		<pubDate>Mon, 30 Mar 2015 01:51:01 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[Varnish]]></category>
		<category><![CDATA[Varnish cache]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=224</guid>
		<description><![CDATA[How to install Varnish on the CentOS Web Panel servers In CWP.admin left menu go to: -> WebServer Settings -> Select WebServers after you save &#038; rebuild the configuration varnish will be installed. Varnish gets activated per domain and that means you will need to manually activate it for each domain. How to activate Varnish [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><strong>How to install Varnish on the CentOS Web Panel servers</strong></p>
<p>In CWP.admin left menu go to:<br />
-> WebServer Settings -> Select WebServers</p>
<p>after you save &#038; rebuild the configuration varnish will be installed.<br />
<em>Varnish gets activated per domain and that means you will need to manually activate it for each domain.</em></p>
<p><strong>How to activate Varnish per Domain?</strong></p>
<p>In CWP.admin left menu go to:<br />
-> WebServer Settings -> WebServers Domain Conf - (Select Username and click on the button Create Configuration)<br />
Now from the dropdown select webservers you want to use for that domain, you will need to select some option having varnish.<br />
recommend option is: nginx->varnish->apache->php-fpm for the best performaces.</p>
<p><strong>Custom Varnish Configuration</strong><br />
Varnish configuration is in the folder /etc/varnish/<br />
Main configuration is /etc/varnish/varnish.params</p>
<p>We recommed using <a href="https://info.varnish-software.com/blog/understanding-varnish-cache-memory-usage" title="Varnish malloc" target="_blank">malloc</a> for memory usage on the servers with more RAM.<br />
VARNISH_STORAGE="malloc,256M"</p>
<p>we recommended 1-4G depending on your available server resources.<br />
VARNISH_STORAGE="malloc,1G"</p>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/how-to-install-varnish/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
