{"id":1820,"date":"2012-09-28T19:14:35","date_gmt":"2012-09-28T19:14:35","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2012\/09\/28\/configuring-smarty\/"},"modified":"2021-08-16T23:34:27","modified_gmt":"2021-08-17T03:34:27","slug":"configuring-smarty","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/","title":{"rendered":"Configuring Smarty in Advanced Parameters for PrestaShop 1.5"},"content":{"rendered":"<p>Our first article for the Performance section in our <a href=\"\/support\/website\/google-tools\/creating-google-analytics-account\/\">Advanced Parameters<\/a> course deals with using Smarty. Smarty is a programming language that is used for the PrestaShop templates. Below are the different setting in this section and explanations of what they do.<\/p>\n<p><strong>How to set up the Smarty settings for performance in PrestaShop 1.5<\/strong><\/p>\n<ol class=\"article_list\">\n<li><a href=\"\/support\/edu\/prestashop\/login-to-dashboard\/\"> Log into your PrestaShop 1.5 dashboard<\/a>.<\/li>\n<li>Using the top menu bar, hover over the <strong>Advanced Paramaters<\/strong> tab and click on the <strong>Performance<\/strong> option from the menu.<\/li>\n<li>This brings you to the <em>Performance<\/em> page. The first section for performance is entitled Smarty.          <br><a href=\"\/support\/wp-content\/uploads\/2012\/09\/edu_prestashop1.5_Advanced_Paramaters_Performance_Intro_smarty.png\" rel=\"lightbox-0\"><img decoding=\"async\" width=\"935\" height=\"243\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/09\/edu_prestashop1.5_Advanced_Paramaters_Performance_Intro_smarty.png\" class=\"optimized-lcp-image\" alt=\"smarty\" loading=\"eager\" fetchpriority=\"high\" sizes=\"(max-width: 768px) 100vw, 768px\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/09\/edu_prestashop1.5_Advanced_Paramaters_Performance_Intro_smarty.png 935w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/09\/edu_prestashop1.5_Advanced_Paramaters_Performance_Intro_smarty-300x78.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/09\/edu_prestashop1.5_Advanced_Paramaters_Performance_Intro_smarty-768x200.png 768w\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p><strong><br>Template Cache<\/strong> <\/p>\n<table class=\"article_table\">\n<tbody>\n<tr>\n<th>Never compile cache<\/th>\n<td>Changes show immediately after page reloading<\/td>\n<\/tr>\n<tr>\n<th>Compile cache if templates are updates<\/th>\n<td><em>(Default)<\/em> The cahnges made to the theme files will display once changed.<\/td>\n<\/tr>\n<tr>\n<th>Force compile<\/th>\n<td>Compiles and caches the pages when changes to the theme are completed<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Cache<\/strong>  <\/p>\n<table class=\"article_table\">\n<tbody>\n<tr>\n<th>Cache<\/th>\n<td>Enables or disables caching. This is an option that should always be enabled except in the case of debugging.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p><strong>Debug Console<\/strong> <\/p>\n<table class=\"article_table\">\n<tbody>\n<tr>\n<th>Do not open console<\/th>\n<td><em>(Default)<\/em> if this is active, the console will never display.<\/td>\n<\/tr>\n<tr>\n<th>Open console with URL parameter (SMARTY_DEBUG)<\/th>\n<td>Allows the console to display if you arr the string \u201c?SMARTY_DEBUG\u201d to the end of a URL.<\/td>\n<\/tr>\n<tr>\n<th>Always open console<\/th>\n<td>Allows everyone to have access to the console.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Our first article for the Performance section in our Advanced Parameters course deals with using Smarty. Smarty is a programming language that is used for the PrestaShop templates. Below are the different setting in this section and explanations of what they do. How to set up the Smarty settings for performance in PrestaShop 1.5 Log<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/\"> Read More ><\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[92],"tags":[],"class_list":["post-1820","post","type-post","status-publish","format-standard","hentry","category-prestashop"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Configuring Smarty in Advanced Parameters for PrestaShop 1.5 | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"This PrestaShop 1.5 article demonstrates how the configuration of Smarty for performance.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configuring Smarty in Advanced Parameters for PrestaShop 1.5 | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"This PrestaShop 1.5 article demonstrates how the configuration of Smarty for performance.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2012-09-28T19:14:35+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T03:34:27+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/09\/edu_prestashop1.5_Advanced_Paramaters_Performance_Intro_smarty.png\" \/>\n<meta name=\"author\" content=\"Scott Mitchell\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Scott Mitchell\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/\"},\"author\":{\"name\":\"Scott Mitchell\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed\"},\"headline\":\"Configuring Smarty in Advanced Parameters for PrestaShop 1.5\",\"datePublished\":\"2012-09-28T19:14:35+00:00\",\"dateModified\":\"2021-08-17T03:34:27+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/\"},\"wordCount\":216,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/09\/edu_prestashop1.5_Advanced_Paramaters_Performance_Intro_smarty.png\",\"articleSection\":[\"Prestashop\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/\",\"name\":\"Configuring Smarty in Advanced Parameters for PrestaShop 1.5 | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/09\/edu_prestashop1.5_Advanced_Paramaters_Performance_Intro_smarty.png\",\"datePublished\":\"2012-09-28T19:14:35+00:00\",\"dateModified\":\"2021-08-17T03:34:27+00:00\",\"description\":\"This PrestaShop 1.5 article demonstrates how the configuration of Smarty for performance.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/09\/edu_prestashop1.5_Advanced_Paramaters_Performance_Intro_smarty.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/09\/edu_prestashop1.5_Advanced_Paramaters_Performance_Intro_smarty.png\",\"width\":935,\"height\":243,\"caption\":\"smarty\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configuring Smarty in Advanced Parameters for PrestaShop 1.5\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed\",\"name\":\"Scott Mitchell\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/scott\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Configuring Smarty in Advanced Parameters for PrestaShop 1.5 | InMotion Hosting","description":"This PrestaShop 1.5 article demonstrates how the configuration of Smarty for performance.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/","og_locale":"en_US","og_type":"article","og_title":"Configuring Smarty in Advanced Parameters for PrestaShop 1.5 | InMotion Hosting","og_description":"This PrestaShop 1.5 article demonstrates how the configuration of Smarty for performance.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2012-09-28T19:14:35+00:00","article_modified_time":"2021-08-17T03:34:27+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/09\/edu_prestashop1.5_Advanced_Paramaters_Performance_Intro_smarty.png","type":"","width":"","height":""}],"author":"Scott Mitchell","twitter_card":"summary_large_image","twitter_creator":"@InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"Scott Mitchell","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/"},"author":{"name":"Scott Mitchell","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed"},"headline":"Configuring Smarty in Advanced Parameters for PrestaShop 1.5","datePublished":"2012-09-28T19:14:35+00:00","dateModified":"2021-08-17T03:34:27+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/"},"wordCount":216,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/09\/edu_prestashop1.5_Advanced_Paramaters_Performance_Intro_smarty.png","articleSection":["Prestashop"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/","name":"Configuring Smarty in Advanced Parameters for PrestaShop 1.5 | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/09\/edu_prestashop1.5_Advanced_Paramaters_Performance_Intro_smarty.png","datePublished":"2012-09-28T19:14:35+00:00","dateModified":"2021-08-17T03:34:27+00:00","description":"This PrestaShop 1.5 article demonstrates how the configuration of Smarty for performance.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/09\/edu_prestashop1.5_Advanced_Paramaters_Performance_Intro_smarty.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2012\/09\/edu_prestashop1.5_Advanced_Paramaters_Performance_Intro_smarty.png","width":935,"height":243,"caption":"smarty"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/prestashop\/configuring-smarty\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Configuring Smarty in Advanced Parameters for PrestaShop 1.5"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/d850efb28ef3573db7d24b0d8fa9eaed","name":"Scott Mitchell","url":"https:\/\/www.inmotionhosting.com\/support\/author\/scott\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":null,"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1820","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=1820"}],"version-history":[{"count":2,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1820\/revisions"}],"predecessor-version":[{"id":85566,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/1820\/revisions\/85566"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=1820"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=1820"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=1820"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}