Skip to content

Commit

Permalink
Merge pull request #4039 from kenjis/fix-general-indent
Browse files Browse the repository at this point in the history
docs: fix general indentation
  • Loading branch information
paulbalandan authored Dec 29, 2020
2 parents e5721a4 + 4a25eac commit 42b7c05
Show file tree
Hide file tree
Showing 6 changed files with 232 additions and 232 deletions.
10 changes: 5 additions & 5 deletions user_guide_src/source/general/caching.rst
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ expired, it will be deleted and refreshed before being sent to the
browser.

.. note:: The Benchmark tag is not cached so you can still view your page
load speed when caching is enabled.
load speed when caching is enabled.

Enabling Caching
================

To enable caching, put the following tag in any of your controller
methods::

$this->cachePage($n);
$this->cachePage($n);

Where ``$n`` is the number of **seconds** you wish the page to remain
cached between refreshes.
Expand All @@ -42,10 +42,10 @@ 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.

.. important:: If you change configuration options that might affect
your output, you have to manually delete your cache files.
your output, you have to manually delete your cache files.

.. note:: Before the cache files can be written you must set the cache
engine up by editing **app/Config/Cache.php**.
engine up by editing **app/Config/Cache.php**.

Deleting Caches
===============
Expand All @@ -54,4 +54,4 @@ If you no longer wish to cache a file you can remove the caching tag and
it will no longer be refreshed when it expires.

.. note:: Removing the tag will not delete the cache immediately. It will
have to expire normally.
have to expire normally.
Loading

0 comments on commit 42b7c05

Please sign in to comment.