# Cache

{% hint style="danger" %}
**Please note:** This page is under construction and has not been finished yet.
{% endhint %}

## Introduction

```php
$cache = e107::getCache();
```

## Cache methods

### retrieve()

### retrieve\_sys()

### set()

### clear()

### clear\_sys()

## Cache types

{% hint style="info" %}
Work in progress
{% endhint %}

| Type                                                                              | content?                       |
| --------------------------------------------------------------------------------- | ------------------------------ |
| online\_menu\_totals                                                              |                                |
| wmessage                                                                          |                                |
| news                                                                              |                                |
| 'newsarchive'                                                                     | \_caption,\_title,\_diz,\_rows |
| "nq\_othernews"                                                                   |                                |
| news\_php\_extend\_'.$id.'\_'                                                     |                                |
| 'nq\_news\_latest\_menu\_'.md5(serialize($parm).USERCLASS\_LIST.e\_LANGUAGE);     |                                |
| 'nq\_news\_categories\_menu\_'.md5(serialize($parm).USERCLASS\_LIST.e\_LANGUAGE); |                                |
| 'nq\_news\_months\_menu\_'.md5(serialize($parm).USERCLASS\_LIST.e\_LANGUAGE);     |                                |
| 'news.php\_default\_'                                                             |                                |
| 'news.php\_'.e\_QUERY                                                             |                                |
| comment.php?{$table}.{$id}                                                        |                                |
| nq\_chatbox                                                                       |                                |
| nomd5\_linkwords                                                                  |                                |
| nomd5\_user\_ranks                                                                |                                |
| 'menus\_'.USERCLASS\_LIST.'\_'.md5(e\_LANGUAGE.$menu\_layout\_field)              |                                |
