<?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>BraveNewCode Inc. &#187; WP Super Cache</title>
	<atom:link href="http://www.bravenewcode.com/tag/wp-super-cache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.bravenewcode.com</link>
	<description>You dream it up, we code it to life.</description>
	<lastBuildDate>Tue, 07 Feb 2012 20:00:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Video Tutorial: Configuring WPtouch with WP Super Cache</title>
		<link>http://www.bravenewcode.com/2009/12/video-tutorial-configuring-wptouch-with-wp-super-cache/</link>
		<comments>http://www.bravenewcode.com/2009/12/video-tutorial-configuring-wptouch-with-wp-super-cache/#comments</comments>
		<pubDate>Tue, 22 Dec 2009 22:29:28 +0000</pubDate>
		<dc:creator>The BNC Team</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WP Plugins]]></category>
		<category><![CDATA[WPtouch]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[Video]]></category>
		<category><![CDATA[WP Super Cache]]></category>

		<guid isPermaLink="false">http://beta.bravenewcode.com/?p=2792</guid>
		<description><![CDATA[The below video aims to assist those who have issues getting WP Super Cache and WPtouch to play nice.]]></description>
			<content:encoded><![CDATA[<p>The below video aims to assist those who have issues getting WP Super Cache and WPtouch to play nice.</p>
<p><a href="http://www.bravenewcode.com/2009/12/video-tutorial-configuring-wptouch-with-wp-super-cache/"><em>Click here to view the embedded video.</em></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.bravenewcode.com/2009/12/video-tutorial-configuring-wptouch-with-wp-super-cache/feed/</wfw:commentRss>
		<slash:comments>17</slash:comments>
		</item>
		<item>
		<title>WPtouch and WP Super Cache</title>
		<link>http://www.bravenewcode.com/2009/01/wptouch-and-wp-super-cache/</link>
		<comments>http://www.bravenewcode.com/2009/01/wptouch-and-wp-super-cache/#comments</comments>
		<pubDate>Mon, 05 Jan 2009 04:36:45 +0000</pubDate>
		<dc:creator>Duane Storey</dc:creator>
				<category><![CDATA[WPtouch]]></category>
		<category><![CDATA[Cache]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPodtouch]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[WP Super Cache]]></category>

		<guid isPermaLink="false">http://www.bravenewcode.com/?p=891</guid>
		<description><![CDATA[One request we hear over and over from the users of WPtouch is for WPtouch to somehow be able to work along side the WP Super Cache plugin. WPtouch has always been able to work when WP Super Cache is in half-on mode (which basically makes it the equivalent of the WP Cache plugin), and [...]]]></description>
			<content:encoded><![CDATA[<p>One request we hear over and over from the users of WPtouch is for WPtouch to somehow be able to work along side the WP Super Cache plugin.   WPtouch has always been able to work when WP Super Cache is in half-on mode (which basically makes it the equivalent of the WP Cache plugin), and where the word &#8220;iPhone&#8221; is added to the list of rejected user agent strings.   Unfortunately, it&#8217;s never quite worked properly when WP Super Cache is in full-on mode.</p>
<p>Running WP Super Cache in full-on mode actually bypasses WordPress in a lot of cases, and serves a cached version of the web page instead.   This leads to problems with WPtouch and inconsistent behaviour, since sometimes a cache file from the normal web version is shown to a WPtouch user.  </p>
<p>There are a few different ways to address this problem, and we might take a stab at adding an option in the WPtouch back-end at some point to help deal with this.  A temporary solution (in theory) is to add this line to your .htaccess file in the two sections where WP Super Cache modifies it:</p>
<p><code>RewriteCond %{HTTP_USER_AGENT} !^.+iPhone</code></p>
<p>You can see a full example here:</p>
<p><code><br />
# BEGIN WPSuperCache<br />
<ifmodule mod_rewrite.c><br />
RewriteEngine On<br />
RewriteBase /<br />
AddDefaultCharset UTF-8<br />
RewriteCond %{REQUEST_URI} !^.*[^/]$<br />
RewriteCond %{REQUEST_URI} !^.*//.*$<br />
RewriteCond %{REQUEST_METHOD} !=POST<br />
RewriteCond %{QUERY_STRING} !.*=.*<br />
RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$<br />
RewriteCond %{HTTP_USER_AGENT} !^.+(iPhone|iPod|aspen|dream|android|BlackBerry9500|BlackBerry9530)RewriteCond %{HTTP:Accept-Encoding} gzip<br />
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f<br />
RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz [L]</p>
<p>RewriteCond %{REQUEST_URI} !^.*[^/]$<br />
RewriteCond %{REQUEST_URI} !^.*//.*$<br />
RewriteCond %{REQUEST_METHOD} !=POST<br />
RewriteCond %{QUERY_STRING} !.*=.*<br />
RewriteCond %{HTTP:Cookie} !^.*(comment_author_|wordpress|wp-postpass_).*$<br />
<code>RewriteCond %{HTTP_USER_AGENT} !^.+iPhone</code><br />
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f<br />
RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]<br />
</ifmodule></p>
<p># END WPSuperCache<br />
</code></p>
<p>This should cause the Super Cache portion of WP Super Cache to bypass the static cached files whenever it is accessed by an iPhone.    You will still need to add the iPhone word to the list of rejected user agents in the WP Super Cache admin.</p>
<p>If you have success with this method, please let us know as we&#8217;ve only done limited testing with it.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.bravenewcode.com/2009/01/wptouch-and-wp-super-cache/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
	</channel>
</rss>

