Path

ez projects / bcgeneratestaticcache


BC Generate Static Cache

UNIX name Owner Status Version Compatible with
bcgeneratestaticcache Brookins Consulting beta 0.5.0 5.x+
BC Generate Static Cache is a command line script that provides a command line script to use to generate static cache using command line options

Source Code

Extension source code is available via GitHub:

Requirements

This extension is now compatible and tested with eZ Publish 5.x Legacy.

Tested with eZ Publish Community Project 2014.07, 2013.05

Autoloads

This script depends on autoloads to function.

To use this script you must first regenerate autoloads for your installation:

php ./bin/php/ezpgenerateautoloads.php;

USAGE

The following are tested command line script usage examples.

bcgeneratestaticcache - Subtree

php ./extension/bcgeneratestaticcache/bin/php/bcgeneratestaticcache.php --subtree=/Mirror* --force -s ezwebin_site_user;

bcgeneratestaticcache - HomePage

php ./extension/bcgeneratestaticcache/bin/php/bcgeneratestaticcache.php --subtree=/ --force -s ezwebin_site_user;

bcgeneratestaticcache - Entire Content Tree

php ./extension/bcgeneratestaticcache/bin/php/bcgeneratestaticcache.php --subtree=/* --force -s ezwebin_site_user;

example-generatestaticcacheindexes - Root Node and Child Node Indexes Only

./extension/bcgeneratestaticcache/bin/shell/example-generatestaticcacheindexes.sh ezwebin_site_user /;

example-generatestaticcacheindexes - Node and Child Node Indexes Only

./extension/bcgeneratestaticcache/bin/shell/example-generatestaticcacheindexes.sh ezwebin_site_user /Mirror;

example-generatestaticcacheindexes - Node and All Child Node Indexes - Every Content Object Bellow Uri

./extension/bcgeneratestaticcache/bin/shell/example-generatestaticcacheindexes.sh ezwebin_site_user /Mirror '*';

CREDITS

This solution was based on the makestaticcache_cli extension by Damien Pobel

This solution was compatible with eZ Publish 4.x (See GitHub repository's 4.x branch for older version)

No news yet.

This project has no reviews yet. Be the first one to review it!

No forum messages yet.