<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -3,6 +3,13 @@ from lifeflow.feeds import *
 from lifeflow.models import *
 from lifeflow.sitemaps import ProjectSitemap
 from django.contrib.sitemaps import GenericSitemap
+from django.views.decorators.cache import cache_page
+from django.contrib.syndication.views import feed
+
+# Cache
+def cache(type):
+    return cache_page(type, 60*30)
+
 
 handler500 = 'lifeflow.views.server_error'
 
@@ -46,7 +53,7 @@ urlpatterns = patterns(
     url(r'^comments/create/(?P&lt;entry_id&gt;\d+)/(?P&lt;parent_id&gt;\d+)/$', 'lifeflow.views.comments'),
 
     # feeds and rss views
-    url(r'^feeds/(?P&lt;url&gt;.*)/$', 'django.contrib.syndication.views.feed', {'feed_dict': feeds}),
+    url(r'^feeds/(?P&lt;url&gt;.*)/$', cache(feed), {'feed_dict': feeds}),
     url(r'^meta/rss/$', 'lifeflow.views.rss'),
 
     # date based generic views</diff>
      <filename>urls.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>fde3db19a4cda38e4d73359aec8597687411e15a</id>
    </parent>
  </parents>
  <author>
    <name>Will Larson</name>
    <email>lethain@gmail.com</email>
  </author>
  <url>http://github.com/lethain/lifeflow/commit/bef4eee94377cb698727d574704852e29f3709aa</url>
  <id>bef4eee94377cb698727d574704852e29f3709aa</id>
  <committed-date>2009-02-20T14:11:00-08:00</committed-date>
  <authored-date>2009-02-20T14:11:00-08:00</authored-date>
  <message>Added caching for RSS feeds.</message>
  <tree>f63e5adb829ebd4134f2301d8ab86002329f6aa1</tree>
  <committer>
    <name>Will Larson</name>
    <email>lethain@gmail.com</email>
  </committer>
</commit>
