<?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 Test</title>
	<atom:link href="https://wiki.centos-webpanel.com/tag/varnish-test/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>Varnish Cache Test</title>
		<link>https://wiki.centos-webpanel.com/varnish-cache-test</link>
		<comments>https://wiki.centos-webpanel.com/varnish-cache-test#comments</comments>
		<pubDate>Sun, 27 Feb 2022 11:28:14 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[Varnish]]></category>
		<category><![CDATA[Varnish Test]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=1774</guid>
		<description><![CDATA[Varnish PHP Cache Test can be done with a simple PHP Script. For testing, we will use a random generator script that will generate random numbers between 1-99 on each refresh/reload from the browser. Test script: varnish-test.php &#60;?php echo rand(1, 99); ?&#62; * You would need to place the script in your domain folder and [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>Varnish PHP Cache Test can be done with a simple PHP Script.<br />
For testing, we will use a random generator script that will generate random numbers between 1-99 on each refresh/reload from the browser.</p>
<p><strong>Test script:</strong> varnish-test.php</p>
<pre>&lt;?php
echo rand(1, 99);
?&gt;</pre>
<p><em>* You would need to place the script in your domain folder and then open it from the web browser.</em><br />
<em>example:</em> https://domain.tld/varnish-test.php</p>
<p><strong>Results</strong><br />
If the results return on each reload/refresh the same number then varnish cache works fine.<br />
If the results return on each reload/refresh different number then varnish is not caching results.</p>
<p><strong>Debug</strong><br />
please note that the script must have proper file permissions owned by the user and file permissions 644.</p>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/varnish-cache-test/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
