An open API service indexing awesome lists of open source software.

https://github.com/generoi/sage-cacheable-viewloaders


https://github.com/generoi/sage-cacheable-viewloaders

Last synced: 22 days ago
JSON representation

Awesome Lists containing this project

README

          

# sage-cacheable-viewloaders

A sage package for pre-compiling acorn view loaders and thus making them cacheable.

## Installation

```sh
composer require generoi/sage-cacheable-viewloaders
```

## Usage

To compile loaders of all the views run the following command.

_NOTE that this needs to run after `view:cache` since that command clears the caches._

```
wp acorn viewloader:cache
```