<?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>Johannes Formanns Webseite &#187; reverse Proxy</title>
	<atom:link href="http://www.formann.de/tag/reverse-proxy/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.formann.de</link>
	<description>Infos &#38; Meinungen von mir</description>
	<lastBuildDate>Tue, 31 Jan 2012 21:41:06 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Performancetuning: Cookies beim Cachen von statischen Inhalten ignorieren</title>
		<link>http://www.formann.de/2010/06/performancetuning-cookies-beim-cachen-von-statischen-inhalten-ignorieren/</link>
		<comments>http://www.formann.de/2010/06/performancetuning-cookies-beim-cachen-von-statischen-inhalten-ignorieren/#comments</comments>
		<pubDate>Sun, 20 Jun 2010 12:45:36 +0000</pubDate>
		<dc:creator>johannes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technik]]></category>
		<category><![CDATA[Webseite]]></category>
		<category><![CDATA[Cookies]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[reverse Proxy]]></category>
		<category><![CDATA[varnish]]></category>

		<guid isPermaLink="false">http://www.formann.de/?p=139</guid>
		<description><![CDATA[Nachdem vom Aufbau her schon das System deutlich optimiert wurde, ging es heute einmal an das &#8220;Feintuning&#8221;. Varnish cacht (sinnvollerweise) per Default keine Dokumente, bei denen bei der Anfrage ein Cookie mitgesendet wurde. Um aber auch bekannt statische Inhalte für alle Nutzer zu cachen, kann man bei Varnisch in der Konfigurationsdatei auch Regeln erstellen, die [...]]]></description>
			<content:encoded><![CDATA[<p>Nachdem vom Aufbau her schon das System deutlich <a href="http://www.formann.de/2010/06/performancetuning/">optimiert wurde</a>, ging es heute einmal an das &#8220;Feintuning&#8221;.</p>

<p><a href="http://www.varnish-cache.org/">Varnish</a> cacht (sinnvollerweise) per Default keine Dokumente, bei denen bei der Anfrage ein Cookie mitgesendet wurde. Um aber auch bekannt statische Inhalte für alle Nutzer zu cachen, kann man bei Varnisch in der Konfigurationsdatei auch Regeln erstellen, die für bestimmte Pfade oder Dateiendungen die Cookies aus der Anfrage entfernen, und damit cachbar machen.</p>

<p>Anders als im <a href="http://varnish-cache.org/wiki/VCLExampleCacheCookies">Wiki</a> dokumentiert, muss man bei der in Debian Lenny vorhandenen Varnishversion &#8220;remove&#8221; statt &#8220;unset&#8221; als Aktion angeben, so das bei mir nun in der Konfiguration u.A. das folgende steht:</p>
<pre>
sub vcl_recv {
    if (req.url ~ "&#46;(png|gif|jpg|swf|css|js|ico|pdf)$") {
            lookup;
    }
}
</pre>
<pre>
sub vcl_fetch {
    if (req.url ~ "&#46;(png|gif|jpg|swf|css|js|ico|pdf)$") {
        remove obj.http.set-cookie;
    }
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.formann.de/2010/06/performancetuning-cookies-beim-cachen-von-statischen-inhalten-ignorieren/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Performancetuning</title>
		<link>http://www.formann.de/2010/06/performancetuning/</link>
		<comments>http://www.formann.de/2010/06/performancetuning/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 16:55:30 +0000</pubDate>
		<dc:creator>johannes</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technik]]></category>
		<category><![CDATA[Webseite]]></category>
		<category><![CDATA[APC]]></category>
		<category><![CDATA[FCGI]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[reverse Proxy]]></category>
		<category><![CDATA[varnish]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://www.formann.de/?p=96</guid>
		<description><![CDATA[Im Rahmen von einigen eh anstehenden Updates habe ich die Technik hinter dem Blog etwas aktualisiert. Es wird nun hier verwendet: WordPress 3.0 Das WordPress-Plugin Super Cache Apache2 in einer Konfiguration mit PHP als FCGI APC als PHP Cache varnish als reverse Caching Proxy modifizierte .htaccess die Expires-Header setzt Damit dürfte auch ein größerer Besucheransturm [...]]]></description>
			<content:encoded><![CDATA[<p>Im Rahmen von einigen eh anstehenden Updates habe ich die Technik hinter dem Blog etwas aktualisiert.</p>

<p>Es wird nun hier verwendet:</p>

<ul>
    <li><a href="http://wordpress.org/">WordPress</a> 3.0</li>
    <li>Das WordPress-Plugin <a href="http://ocaoimh.ie/wp-super-cache/">Super Cache</a></li>
    <li><a href="http://ocaoimh.ie/wp-super-cache/"></a>Apache2 in einer <a href="http://www.christophfischer.com/linux/12-apache/47-apache-server-mit-php-fastcgi-und-debian-50-lenny">Konfiguration</a> mit PHP als FCGI</li>
    <li><a href="http://pecl.php.net/package/APC">APC</a> als PHP Cache</li>
    <li><a href="http://varnish-cache.org/">varnish</a> als reverse Caching Proxy</li>
    <li>modifizierte .htaccess die Expires-Header setzt</li>
</ul>

<p>Damit dürfte auch ein größerer Besucheransturm den Webserver nicht an die Grenzen bringen. Der Beweis steht mangels entsprechenden Content allerdings noch aus <img src='http://www.formann.de/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.formann.de/2010/06/performancetuning/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

