Skip to content

generoi/sage-cacheable-viewloaders

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sage-cacheable-viewloaders

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