{remarksbox type="tip" title="{tr}Tip{/tr}"}{tr}Please see the Performance page on Tiki's developer site.{/tr}{/remarksbox}
{ticket}
{include file='admin/include_apply_top.tpl'}
{tabset} {tab name="{tr}Performance{/tr}"}
{preference name=tiki_monitor_performance} {preference name=tiki_minify_javascript}
{preference name=tiki_minify_late_js_files}
{preference name=javascript_cdn} {preference name=tiki_cdn} {preference name=tiki_cdn_ssl} {preference name=tiki_cdn_check} {preference name=tiki_prefix_css} {preference name=tiki_minify_css}
{preference name=tiki_minify_css_single_file}
{preference name=feature_obzip}
{if $gzip_handler ne 'none'}
{tr}Output compression is active.{/tr}
{tr}Compression is handled by:{/tr} {$gzip_handler}.
{/if}
{preference name=tiki_cachecontrol_session} {preference name=smarty_compilation} {preference name=users_serve_avatar_static} {preference name=allowImageLazyLoad }
{tr}PHP settings{/tr}

{tr}Some PHP.INI settings that can increase performance{/tr}

{tr _0=$realpath_cache_size_ini}'realpath_cache_size setting': %0{/tr} {tr _0=$realpath_cache_size_percent}(percentage used %0 %{/tr}) {help url="php.ini#Performance" desc="realpath_cache_size : {tr}Determines the size of the realpath cache to be used by PHP.{/tr}"}

{tr _0=$realpath_cache_ttl}'realpath_cache_ttl setting': %0 seconds{/tr} {help url="php.ini#Performance" desc="realpath_cache_ttl : {tr}Duration of time (in seconds) for which to cache realpath information for a given file or directory.{/tr}"}

{/tab} {tab name="{tr}Bytecode Cache{/tr}"}
{if $opcode_cache} {if !$opcode_compatible} {remarksbox type="warning" title="{tr}Warning{/tr}"} {tr}Some PHP versions may exhibit randomly issues with the OpCache leading to the server starting to fail to serve all PHP requests, your PHP version seems to be affected, despite the performance penalty, we would recommend disabling the OpCache if you experience random crashes.{/tr} {/remarksbox} {/if}

{tr _0=$opcode_cache}Using %0. These stats affect all PHP applications running on the server.{/tr}

{if $opcode_stats.warning_xcache_blocked}

{tr _0="xcache.admin.enable_auth"}Configuration setting %0 prevents from accessing statistics. This will also prevent the cache from being cleared when clearing template cache.{/tr}

{/if}
{wikiplugin _name='chartjs' type=pie id=MemoryGraph width=250 height=100 values=$memory_graph.data data_labels=$memory_graph.data debug=1} {/wikiplugin} {wikiplugin _name='chartjs' type=pie id=CacheGraph width=250 height=100 values=$hits_graph.data data_labels=$hits_graph.data debug=1} {/wikiplugin}
{tr}Memory Used:{/tr} {$opcode_stats.memory_used * 100}% - {tr}Available:{/tr} {$opcode_stats.memory_avail * 100}% {tr}Cache Hits:{/tr} {$opcode_stats.hit_hit * 100}% - {tr}Misses:{/tr} {$opcode_stats.hit_miss * 100}%
{if $opcode_stats.warning_fresh}

{tr}Few hits recorded. Statistics may not be representative.{/tr}

{/if} {if $opcode_stats.warning_ratio}

{tr _0=$opcode_cache}Low hit ratio. %0 may be misconfigured and not used.{/tr}

{/if} {if $opcode_stats.warning_starve}

{tr}Little memory available. Thrashing likely to occur.{/tr} {tr}The values to increase are apc.shm_size (for APC), xcache.size (for XCache) or opcache.memory_consumption (for OPcache).{/tr}

{/if} {if $opcode_stats.warning_low}

{tr _0=$opcode_cache}Small amount of memory allocated to %0. Verify the configuration.{/tr} {tr}The values to increase are apc.shm_size (for APC), xcache.size (for XCache) or opcache.memory_consumption (for OPcache).{/tr}

{/if} {if $opcode_stats.warning_check}

{tr _0=$stat_flag}Configuration %0 is enabled. Disabling modification checks can improve performance, but will require manual clear on file updates.{/tr} {if $opcode_stats.warning_xcache_blocked} {tr _0=$stat_flag}%0 should not be disabled due to authentication on XCache.{/tr} {/if}

{/if} {if $opcode_stats.warning_check}

{tr}Clear all APC caches:{/tr} {self_link apc_clear=true _onclick="confirmPopup('{tr}Clear APC caches?{/tr}', '{ticket mode=get}')"}{tr}Clear Caches{/tr}{/self_link}

{/if} {else} {tr}Bytecode cache is not used. Using a bytecode cache (OPcache, APC, XCache, WinCache) is highly recommended for production environments.{/tr} {/if} {/tab} {tab name="{tr}Wiki{/tr}"}
{preference name=wiki_cache} {preference name=feature_wiki_icache} {preference name=wiki_ranking_reload_probability} {/tab} {tab name="{tr}Database{/tr}"}
{preference name=log_sql}
{preference name=log_sql_perf_min}
{preference name=feature_search_show_forbidden_obj} {preference name=feature_search_show_forbidden_cat} {/tab} {tab name="{tr}Memcache{/tr}"}
{preference name=memcache_enabled}
{preference name=memcache_prefix} {preference name=memcache_expiration} {preference name=memcache_servers} {preference name=memcache_wiki_data} {preference name=memcache_wiki_output} {preference name=memcache_forum_output}
{/tab} {tab name="{tr}Redis{/tr}"} {preference name="redis_enabled"}
{preference name="redis_host"} {preference name="redis_port"} {preference name="redis_timeout"} {preference name="redis_prefix"} {preference name="redis_expiry"}
{/tab} {tab name="{tr}Plugins{/tr}"}
{preference name=wikiplugin_snarf_cache} {/tab} {tab name="{tr}Major Slowdown{/tr}"}
{remarksbox type="note" title="{tr}Major slowdown{/tr}"} {tr}These are reported to slow down Tiki. If you have a high-volume site, you may want to deactivate them{/tr} {/remarksbox} {preference name=wikiplugin_sharethis} {preference name=log_sql} {preference name=log_mail} {preference name=log_tpl} {preference name=category_browse_count_objects} {preference name=categories_cache_refresh_on_object_cat} {preference name=feature_actionlog_bytes} {preference name=search_parsed_snippet} {preference name=feature_blog_heading} {preference name=error_reporting_level} {preference name=feature_typo_enable} {remarksbox type="tip" title="{tr}Tip{/tr}"} {tr _0='' _1=''}Many search options impact performance. Please see %0Search admin panel%1.{/tr} {/remarksbox} {/tab} {tab name="{tr}Sessions{/tr}"}
{preference name=session_silent} {preference name=tiki_cachecontrol_nosession} {/tab} {tab name="{tr}Newsletter{/tr}"}
{preference name=newsletter_throttle}
{preference name=newsletter_pause_length} {preference name=newsletter_batch_size}
{/tab} {tab name="{tr}Time and Memory Limits{/tr}"}
{preference name=allocate_memory_php_execution} {preference name=allocate_time_php_execution} {preference name=allocate_memory_tracker_export_items} {preference name=allocate_time_tracker_export_items} {preference name=allocate_time_tracker_clear_items} {preference name=allocate_memory_print_pdf} {preference name=allocate_time_print_pdf} {preference name="allocate_memory_unified_rebuild"} {preference name="allocate_time_unified_rebuild"} {/tab} {/tabset} {include file='admin/include_apply_bottom.tpl'}