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

v0.1.1 2024-06-12 20:53 UTC

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