mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2025-07-14 07:54:43 +02:00
[How to create a new Cache] Create page
parent
a62fe23a64
commit
e678af58be
1 changed files with 24 additions and 0 deletions
24
How-to-create-a-new-Cache.md
Normal file
24
How-to-create-a-new-Cache.md
Normal file
|
@ -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
|
||||||
|
<?PHP
|
||||||
|
// PHP code here
|
||||||
|
// This line is empty (just imagine it!)
|
||||||
|
```
|
Loading…
Add table
Add a link
Reference in a new issue