Last active
August 29, 2015 14:06
-
-
Save brookinsconsulting/9a38194fce79a7c353ca to your computer and use it in GitHub Desktop.
Example working staticcache.ini.append.php configuration file. Tested with ezpublish5_community_project-2014.07.0-gpl-full
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php /* | |
[CacheSettings] | |
# This setting has been deprecated since version 4.4 | |
# Hostname is read from site.ini.[SiteSettings].SiteURL per siteaccess | |
# defined in staticcache.ini.[CacheSettings].CachedSiteAccesses | |
# This setting will be removed in future release | |
HostName= | |
StaticStorageDir=var/ezwebin_site/static | |
MaxCacheDepth=10 | |
# A list of url's to cache. You can use the * wildcard to include a whole | |
# subtree. | |
CachedURLArray[] | |
CachedURLArray[]=/ | |
CachedURLArray[]=/ez | |
CachedURLArray[]=/ez/* | |
CachedURLArray[]=/about | |
CachedURLArray[]=/about/* | |
CachedURLArray[]=/people | |
CachedURLArray[]=/people/* | |
CachedURLArray[]=/solution | |
CachedURLArray[]=/solution/* | |
CachedURLArray[]=/snippet | |
CachedURLArray[]=/snippet/* | |
CachedURLArray[]=/project | |
CachedURLArray[]=/project/* | |
CachedURLArray[]=/new_stack | |
CachedURLArray[]=/new_stack/* | |
CachedURLArray[]=/help | |
CachedURLArray[]=/help/* | |
CachedURLArray[]=/new | |
CachedURLArray[]=/new/* | |
CachedURLArray[]=/about | |
CachedURLArray[]=/about/* | |
CachedURLArray[]=/minutes | |
CachedURLArray[]=/minutes/* | |
CachedURLArray[]=/learning | |
CachedURLArray[]=/learning/* | |
CachedURLArray[]=/discussion | |
CachedURLArray[]=/discussion/* | |
CachedURLArray[]=/updated | |
CachedURLArray[]=/updated/* | |
# A list of site accesses to generate static content for | |
CachedSiteAccesses[] | |
CachedSiteAccesses[]=en | |
CachedSiteAccesses[]=fr | |
CachedSiteAccesses[]=de | |
CachedSiteAccesses[]=cn | |
CachedSiteAccesses[]=es | |
CachedSiteAccesses[]=nl | |
CachedSiteAccesses[]=pl | |
CachedSiteAccesses[]=pt | |
# A list of locations that will be updated whenever an object is published. You | |
# can NOT use a wildcard here. | |
AlwaysUpdateArray[] | |
AlwaysUpdateArray[]=/ | |
# Defer cache generation to cronjob. | |
CronjobCacheClear=disabled | |
# Controls whenever <!-- Generated: YYY-MM-DD HH:MM:SS --> comment | |
# should be appended into the generated static cache file. | |
AppendGeneratedTime=true | |
*/ ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment