PHPackages                             mutation/filecache - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Caching](/categories/caching)
4. /
5. mutation/filecache

ActiveCraft-plugin[Caching](/categories/caching)

mutation/filecache
==================

Cache templates to html files

4.0.0(1y ago)23.5k1MITPHPPHP ^8.0.2

Since Nov 2Pushed 1y ago1 watchersCompare

[ Source](https://github.com/MutationDigitale/craft-htmlcache)[ Packagist](https://packagist.org/packages/mutation/filecache)[ RSS](/packages/mutation-filecache/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (63)Used By (0)

File Cache plugin for Craft CMS
===============================

[](#file-cache-plugin-for-craft-cms)

The html file cache is created automatically when you visit a page and then served when the page is visited after. The cache automatically is cleared when an element is saved, modified or deleted.

Installation
------------

[](#installation)

Install the plugin via the **Plugin Store** or by command line:

```
composer require mutation/filecache
php craft install/plugin filecache

```

Configuration
-------------

[](#configuration)

Add a file named `filecache.php` to the `config` folder:

```
