[Catalyst-commits] r7266 - trunk/examples/CatalystAdvent/root/2007/pen

jayk at dev.catalyst.perl.org jayk at dev.catalyst.perl.org
Tue Dec 11 05:46:57 GMT 2007


Author: jayk
Date: 2007-12-11 05:46:55 +0000 (Tue, 11 Dec 2007)
New Revision: 7266

Modified:
   trunk/examples/CatalystAdvent/root/2007/pen/CacheFriendlyApps.pod
Log:
Typos fixed

Modified: trunk/examples/CatalystAdvent/root/2007/pen/CacheFriendlyApps.pod
===================================================================
--- trunk/examples/CatalystAdvent/root/2007/pen/CacheFriendlyApps.pod	2007-12-11 05:35:52 UTC (rev 7265)
+++ trunk/examples/CatalystAdvent/root/2007/pen/CacheFriendlyApps.pod	2007-12-11 05:46:55 UTC (rev 7266)
@@ -43,7 +43,7 @@
 
  Cache-Control: no-cache
  
-Doesn't get any simpler than that. Now let's move on to the one we are most
+It doesn't get any simpler than that. Now let's move on to the one we are most
 interested in today...
 
 =head3 How long can this be cached?
@@ -75,11 +75,11 @@
 =head2 Our madness
 
 Now that we know how to inform cache servers of our intentions, how do we
-integrate that into our Catalyst app. More importantly, how do we deal with
+integrate that into our Catalyst app? More importantly, how do we deal with
 the numerous paths through our application that might generate a page while
 still providing a sensible cache value?
 
-The path I usually take is to have a default maximum time limit for any given
+The method I usually use is to have a default maximum time limit for any given
 page in the application. This default does not need to be huge, even 1 hour
 (3600 seconds) is enough to drastically reduce the load on your web
 application (think 1 request for that resource per hour and you start to get
@@ -133,7 +133,7 @@
         # ...
     }
  }
- 
+
 Setting an element in the cachecontrol hash allows any action to specify it's
 intentions with regard to cacheability. These intentions will be clear
 regardless of how the action was reached. Keep in mind also that only actions
@@ -226,13 +226,13 @@
      ## rest of routine from above
      ...
  }
- 
+
 There are some remaining issues you need to be aware of when working with
 caching - particularly if you are running cache-servers in front of your web
 application. First, using the above method means that no logged-in users will
 generate pages that stay in your cache. This can be problematic, especially if
 your application caters mainly to registered users. The other problem is that
-when an unregistered user B<DOES> cause a page to be cached, registered users
+when an unregistered user DOES cause a page to be cached, registered users
 will receive that cached copy, even if they are logged in.
 
 To make matters worse, when you are making your site cacheable, you must pay




More information about the Catalyst-commits mailing list