From e678af58be0071bcbaf157ae59a60eaf91115b1d Mon Sep 17 00:00:00 2001 From: LogMANOriginal Date: Sun, 16 Oct 2016 12:09:56 +0200 Subject: [PATCH] [How to create a new Cache] Create page --- How-to-create-a-new-Cache.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 How-to-create-a-new-Cache.md diff --git a/How-to-create-a-new-Cache.md b/How-to-create-a-new-Cache.md new file mode 100644 index 0000000..c5223f7 --- /dev/null +++ b/How-to-create-a-new-Cache.md @@ -0,0 +1,24 @@ +Create a new file in the `caches/` folder (see [Folder structure](Folder-structure)). + +The file must be named according to following specification: + +* It starts with the type +* The file name must end with 'Cache' +* The file type must be PHP, written in small letters (seriously!) ".php" + +**Examples:** + +Type | Filename +-----|--------- +File | FileCache.php +MySQL | MySQLCache.php + +The file must start with the PHP tags and end with an empty line. The closing tag ?> is omitted. + +Example: + +```PHP +