summaryrefslogtreecommitdiffstats
path: root/user_guide
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2007-10-02 22:04:33 +0200
committerDerek Allard <derek.allard@ellislab.com>2007-10-02 22:04:33 +0200
commit6969393d0379605818cb4fab1709e7b2273dab62 (patch)
tree3892cda32c54cdd29a086ab41acf03e6bf88bb84 /user_guide
parent59c26339c0dbf262116c9f1c562bc07034a9ed74 (diff)
added a warning note that caching only works when generating display via a view file.
Diffstat (limited to 'user_guide')
-rw-r--r--user_guide/general/caching.html1
1 files changed, 1 insertions, 0 deletions
diff --git a/user_guide/general/caching.html b/user_guide/general/caching.html
index 6c7d35f5c..db3725b7a 100644
--- a/user_guide/general/caching.html
+++ b/user_guide/general/caching.html
@@ -89,6 +89,7 @@ and sent to the requesting user's browser. If it has expired, it will be delete
<p>The above tag can go anywhere within a function. It is not affected by the order that it appears, so place it wherever it seems
most logical to you. Once the tag is in place, your pages will begin being cached.</p>
+<p class="important"><strong>Warning:</strong> Because of the way CodeIgniter stores content for output, caching will only work if you are generating display for your controller with a <a href="./views.html">view</a>.</p>
<p class="important"><strong>Note:</strong> Before the cache files can be written you must set the file permissions on your
<dfn>system/cache</dfn> folder such that it is writable (666 is usually appropriate).</p>