{* * Page Cache Ultimate, Page Cache standard and Speed pack are powered by Jpresta (jpresta . com) * * @author Jpresta * @copyright Jpresta * @license See the license of this module in file LICENSE.txt, thank you. *}

{if $avec_bootstrap}{else}{/if}  {l s='Cache Warmer settings' mod='pagecache'}

{if count($pagecache_cw_contexts->specifics) > 0}
 {l s='These settings will be used by the cache warmer service if you subscribed to it. See below for more informations.' mod='pagecache'}

{l s='The cache warmer browses your site in different contexts so all visitors will get a page on which the cache is available.' mod='pagecache'}

{l s='The more you have contexts, the more the warm-up will be long and the cache will consumme resources (database and hard disk).' mod='pagecache'}

{l s='The purpose of these settings is to select which contexts you want to warm-up.' mod='pagecache'}

{l s='Pages to warmup' mod='pagecache'}

{foreach $managed_controllers as $controller_name => $controller} {if $controller['warmer']} controllers[$controller_name]) && $pagecache_cw_contexts->controllers[$controller_name]['checked']}checked="checked" {/if} {if isset($pagecache_cw_contexts->controllers[$controller_name]) && $pagecache_cw_contexts->controllers[$controller_name]['disabled']}disabled="disabled" {/if} value="{$controller_name|escape:'html':'UTF-8'}" data-page-count="{if isset($pagecache_cw_contexts->controllers[$controller_name])}{$pagecache_cw_contexts->controllers[$controller_name]['count']|intval}{else}0{/if}" > {/if} {/foreach}
{l s='Options' mod='pagecache'}:
{l s='Comma separated list of categories\' IDs. Leave empty to warmup all products.' mod='pagecache'}

{l s='Contexts to warmup' mod='pagecache'}

{l s='We recommend you to let the module generates contexts to warmup. They are generated depending on the statistics of your shop to generate the cache of the most viewed pages in priority. Creating contexts manually can be less efficient but you can do it if you need.' mod='pagecache'}

contexts_auto|default:0}checked{/if}> contexts_auto|default:0}checked{/if}>

{l s='We highly recommend to create contexts automatically' mod='pagecache'}

{l s='Please, create all contexts that you want to warmup' mod='pagecache'}


{if $avec_bootstrap}{else}{/if} {l s='Languages' mod='pagecache'} :  {l s='Available languages are the ones enabled for this shop' mod='pagecache'}

{if $avec_bootstrap}{else}{/if} {l s='Currencies' mod='pagecache'} :  {l s='Available currencies are the ones enabled for this shop' mod='pagecache'}

{if $avec_bootstrap}{else}{/if} {l s='Devices' mod='pagecache'} :  {l s="You can only select 'mobile' if you enabled the option 'Create separate cache for desktop and mobile' in advanced mode, in menu Cache Key > Devices" mod='pagecache'}

{if $avec_bootstrap}{else}{/if} {l s='Countries' mod='pagecache'} :  {l s='Available countries are the ones you selected in advanced mode, in menu Cache Key > Countries' mod='pagecache'}

{if $avec_bootstrap}{else}{/if} {l s='User groups combinations' mod='pagecache'} :  {l s="Available user groups are the ones currently used by the cache. To add a user group or a user group combination you just need to connect to the shop with a corresponding customer account when the cache is enabled. If you still don't find it, that means this user group or user group combination does not need a specific cache. More informations in advanced mode, in menu Cache Key > User groups" mod='pagecache'}

{if $avec_bootstrap}{else}{/if} {l s='Specifics' mod='pagecache'} :  {l s='Specifics are mostly used for RGPD law; it creates different cache for visitor accepting cookies or not. The list is based on current cache statistics.' mod='pagecache'}

{foreach $pagecache_cw_contexts->contexts as $index => $context} {/foreach}
{if $avec_bootstrap}{else}{/if} {l s='Languages' mod='pagecache'} {if $avec_bootstrap}{else}{/if} {l s='Currencies' mod='pagecache'} {if $avec_bootstrap}{else}{/if} {l s='Devices' mod='pagecache'} {if $avec_bootstrap}{else}{/if} {l s='Countries' mod='pagecache'} {if $avec_bootstrap}{else}{/if} {l s='User groups' mod='pagecache'} {if $avec_bootstrap}{else}{/if} {l s='Specifics' mod='pagecache'}
{$pagecache_cw_contexts->languages[$context['language']]['label']|default:''|escape:'html':'UTF-8'} {$pagecache_cw_contexts->currencies[$context['currency']]['label']|default:''|escape:'html':'UTF-8'} {$pagecache_cw_contexts->devices[$context['device']]['label']|default:''|escape:'html':'UTF-8'} {$pagecache_cw_contexts->countries[$context['country']]['label']|default:''|escape:'html':'UTF-8'} {$pagecache_cw_contexts->groups[$context['group']]['label']|default:''|escape:'html':'UTF-8'} {$pagecache_cw_contexts->specifics[$context['specifics']]['label']|default:''|escape:'html':'UTF-8'}

{l s='Total pages to warmup' mod='pagecache'}

 {l s='When contexts are automatically created the number of pages to warm up will be adapted to your subscription plan' mod='pagecache'}
 {l s='Try to have less than 100000 pages to warmup or it will be too long to be processed by the cache-warmer in a single day' mod='pagecache'}
{l s='Estimated number of pages per context' mod='pagecache'}
{l s='Number of context' mod='pagecache'}
{l s='Total pages to warmup' mod='pagecache'}
{else}
{l s='Before setting the pages that you want to warmup, you, or your visitors, need to browse your shop a little bit. Why? So the module know the different contexts that can be used on your shop. So, you just have to browse different pages of your store and reload this page.' mod='pagecache'}
{/if}