<?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>Pubwich blog &#187; Uncategorized</title>
	<atom:link href="http://pubwich.org/blog/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://pubwich.org/blog</link>
	<description></description>
	<lastBuildDate>Thu, 15 Oct 2009 12:23:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9-rare</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Do I really need the cronjob?</title>
		<link>http://pubwich.org/blog/2009/10/do-i-really-need-the-cronjob/</link>
		<comments>http://pubwich.org/blog/2009/10/do-i-really-need-the-cronjob/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 12:17:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://pubwich.org/blog/?p=7</guid>
		<description><![CDATA[I often get this question about Pubwich:
What is the cronjob for? Do I really need it?
The real answer is &#8220;no&#8220;. However, there are drawbacks for not using the cronjob. Here&#8217;s how Pubwich&#8217;s caching system works:

A user visits a Pubwich installation on http://example.com.
Pubwich checks if there already is data in its cache folder and checks if [...]]]></description>
			<content:encoded><![CDATA[<p>I often get this question about Pubwich:</p>
<blockquote><p>What is the cronjob for? Do I really need it?</p></blockquote>
<p>The real answer is &#8220;<em>no</em>&#8220;. However, there are drawbacks for not using the cronjob. Here&#8217;s how Pubwich&#8217;s caching system works:</p>
<ol>
<li>A user visits a Pubwich installation on <a href="http://example.com">http://example.com</a>.</li>
<li>Pubwich checks if there already is data in its cache folder and checks if this data is not expired.</li>
<li>If there&#8217;s no data or if the data is expired, Pubwich fetches the data from the web services (while the user waits&#8230;) and <em>then</em> display it.</li>
<li>If there is data and it&#8217;s not expired, Pubwich display it and the user doesn&#8217;t have to wait.</li>
</ol>
<p>The cronjob&#8217;s job is to prevent #3 from happening by fetching the data each <code>X</code> minutes to make sure that the data is <em>always fresh</em> and that the end-user will never have to wait for Pubwich to fetch the data.</p>
<p>If your cache time limit (defined in is <code>/cfg/config.php</code>) is set 20 minutes, set your cronjob to run each 15 minutes, so the 20 minutes limit will never be reached.</p>
<p>So the real answer is &#8220;<strong>yes, to make sure that your visitors never have to wait</strong>&#8220;.</p>
]]></content:encoded>
			<wfw:commentRss>http://pubwich.org/blog/2009/10/do-i-really-need-the-cronjob/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>It&#8217;s a blog!</title>
		<link>http://pubwich.org/blog/2009/10/its-a-blog/</link>
		<comments>http://pubwich.org/blog/2009/10/its-a-blog/#comments</comments>
		<pubDate>Thu, 15 Oct 2009 11:53:17 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://pubwich.org/blog/?p=5</guid>
		<description><![CDATA[Yup, this is the Pubwich blog.
]]></description>
			<content:encoded><![CDATA[<p>Yup, this is the Pubwich blog.</p>
]]></content:encoded>
			<wfw:commentRss>http://pubwich.org/blog/2009/10/its-a-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

