<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>app/controllers/cache_sweeper.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -1,4 +1,6 @@
 class PagesController &lt; ApplicationController
+  caches_page :show
+  cache_sweeper :cache_sweeper, :only =&gt; [ :edit, :destroy, :create ]
   
   skip_before_filter :authenticate, :only =&gt; [:show]
   </diff>
      <filename>app/controllers/pages_controller.rb</filename>
    </modified>
    <modified>
      <diff>@@ -56,4 +56,25 @@ Rails::Initializer.run do |config|
 
   # Make Active Record use UTC-base instead of local time
   # config.active_record.default_timezone = :utc
+
+
+
+
+
+
+  config.action_controller.page_cache_directory = RAILS_ROOT+&quot;/public/cache/&quot;
+
+  ### Add these to production ###
+  # Rewrite index to check for static
+  #RewriteRule ^/$ cache/index.html [QSA]
+  # Rewrite to check for Rails cached page
+  #RewriteRule ^([^.]+)$ cache/$1.html [QSA]
+
+
+
+
+
+
+
+
 end
\ No newline at end of file</diff>
      <filename>config/environment.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>2c01fd53f2189b615a1230b68c11b2665c57c212</id>
    </parent>
  </parents>
  <author>
    <name>Jon Maddox</name>
    <email>jon@jonsthoughtsoneverything.com</email>
  </author>
  <url>http://github.com/maddox/freelancer/commit/eebf3d546a39f0d551c5797f952354215f4adf72</url>
  <id>eebf3d546a39f0d551c5797f952354215f4adf72</id>
  <committed-date>2008-03-29T21:13:11-07:00</committed-date>
  <authored-date>2008-03-29T21:13:11-07:00</authored-date>
  <message>added page caching</message>
  <tree>d4384ed7b7fdcce666b90f0998be4edcc974fb70</tree>
  <committer>
    <name>Jon Maddox</name>
    <email>jon@jonsthoughtsoneverything.com</email>
  </committer>
</commit>
