https://github.com/generoi/sage-cacheable-viewloaders
https://github.com/generoi/sage-cacheable-viewloaders
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/generoi/sage-cacheable-viewloaders
- Owner: generoi
- Created: 2024-06-09T15:48:04.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-06-12T20:56:09.000Z (about 2 years ago)
- Last Synced: 2025-12-26T06:15:27.112Z (6 months ago)
- Language: PHP
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```