generoi / sage-cacheable-viewloaders
Installs: 804
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/generoi/sage-cacheable-viewloaders
Requires
- php: >=7.4
- roots/acorn: *
Requires (Dev)
- phpstan/phpstan: ^1.11
- squizlabs/php_codesniffer: ~3.0
This package is auto-updated.
Last update: 2025-09-12 23:52:51 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