generoi / sage-cacheable-viewloaders
v0.1.1
2024-06-12 20:53 UTC
Requires
- php: >=7.4
- roots/acorn: *
Requires (Dev)
- phpstan/phpstan: ^1.11
- squizlabs/php_codesniffer: ~3.0
This package is auto-updated.
Last update: 2024-11-12 21:48:57 UTC
README
A sage package for pre-compiling acorn view loaders and thus making them cacheable.
Installation
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