Skip to content

Instantly share code, notes, and snippets.

@iso100
Created June 17, 2013 13:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iso100/5797047 to your computer and use it in GitHub Desktop.
Save iso100/5797047 to your computer and use it in GitHub Desktop.
Template debugging with CE Cache enabled.
(0.000014 / 14.13MB) - Begin Template Processing -
(0.000165 / 14.14MB) URI: qr-codes/gallery/custom-qr-prints
(0.000183 / 14.14MB) Path.php Template: data/detail
(0.000199 / 14.14MB) Retrieving Template
(0.000219 / 14.14MB) Retrieving Template from Database: data/detail
(0.001334 / 14.14MB) Template Found
(0.001446 / 14.15MB) Retrieving Template from File
(0.005255 / 14.46MB) Calling Extension Class/Method: Low_variables_ext/template_fetch_template
(0.008529 / 14.53MB) Calling Extension Class/Method: Ce_cache_ext/template_pre_parse
(0.010052 / 14.62MB) Calling Extension Class/Method: Stash_ext/template_fetch_template
(0.010540 / 14.60MB) Template Type: webpage
(0.010570 / 14.60MB) Parsing Site Variables
(0.010659 / 14.60MB) Snippets (Keys): gv_product_ctas|is_bwf_preview|global:mailcode|global:mktpgm|global:ordernum|global:env|global:env_full|global:year|global:full_date|global:full_uri|global:hostname|global:base_url|freelancer_version|freebie_original_uri|freebie_stripped_uri|freebie_last|freebie_1|freebie_2|freebie_3|freebie_4|freebie_5|freebie_6|freebie_7|freebie_8|freebie_9|freebie_10|freebie_debug_segments|freebie_debug_settings_to_ignore|freebie_debug_settings_ignore_beyond|freebie_debug_settings_break_category|freebie_debug_settings_remove_numbers|freebie_debug_settings_always_parse|freebie_debug_settings_always_parse_pagination|freebie_debug_uri_cleaned|structure:is:page|structure:is:listing|structure:is:listing:parent|structure:page:entry_id|structure:page:template_id|structure:page:title|structure:page:slug|structure:page:uri|structure:page:url|structure:page:channel|structure:page:channel_short_name|structure:parent:entry_id|structure:parent:title|structure:parent:slug|structure:parent:uri|structure:parent:url|structure:parent:child_ids|structure:parent:channel|structure:parent:channel_short_name|structure:top:entry_id|structure:top:title|structure:top:slug|structure:top:uri|structure:top:url|structure:child_listing:channel_id|structure:child_listing:short_name|structure:freebie:entry_id|structure:child_ids|structure:sibling_ids|structure_1|structure_2|structure_3|structure_4|structure_5|structure_6|structure_7|structure_8|structure_9|structure_10|structure_last_segment|sn_header|sn_head|sn_footer|sn_footer_scripts|sn_secondary_nav|sn_utility_nav|sn_contact|sn_customers|sn_breadcrumbs|sn_color_css_overrides|site_id|site_label|site_short_name|last_segment
(0.010701 / 14.61MB) Snippets (Values): |||||local|Local|{current_time format='%Y'}|{current_time format='%l, %F %d, %Y'}|/smb/qr-codes/gallery/custom-qr-prints|smbdev.pb.com|http://smbdev.pb.com/smb/|FALSE|qr-codes/gallery/custom-qr-prints|qr-codes/gallery/custom-qr-prints|custom-qr-prints|qr-codes|gallery|custom-qr-prints||||||||qr-codes+gallery+custom-qr-prints||request-a-call|no|no||no|qr-codes/gallery/custom-qr-prints|1|||353|22|Custom Printed QR Codes On Promotional Materials|custom-qr-prints|/qr-codes/gallery/custom-qr-prints|http://smbdev.pb.com/smb/qr-codes/gallery/custom-qr-prints|9|page_content|339|QR Code Use Examples For Business|gallery|/qr-codes/gallery|http://smbdev.pb.com/smb/qr-codes/gallery|352|353|354|361|9|page_content|26|pbSmart Codes|qr-codes|/qr-codes|http://smbdev.pb.com/smb/qr-codes|||||352|354|361|qr-codes|gallery|custom-qr-prints||||||||custom-qr-prints| <div class="header" role="banner"> <div class="container fixed-width"> <a class="logo" href="/smb"><span class="pblogo-big"></span></a> <ul id="primary-nav" role="navigation"> {exp:navee:custom nav_title="main-nav" wrap_type="none" max_depth="1" selected_class_on_parents="true" parent_selected_class="current" selected_class="current" } <li{if class} class="{class}"{/if}><a href="{link}"{if title} title="{title}"{/if}{if target} target="{target}"{/if}>{text}</a>{custom}</li> {/exp:navee:custom} </ul> </div> </div>| <meta charset="UTF-8"> <link href="/smb/assets/css/styles.css?v56" rel="stylesheet"> <!--[if IE]> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <![endif]--> <!--[if IE 8]> <link rel="stylesheet" type="text/css" href="/smb/assets/css/ie8.css"> <![endif]--> <!--[if IE 7]> <link rel="stylesheet" type="text/css" href="/smb/assets/css/ie7.css"> <![endif]-->| <div id="footer" class="container"> <div class="linklists fixed-width"> <div class="col-1"> <h3>{gv_fat_footer_main_heading}</h3> <ul role="navigation"> {exp:low_variables:pair var="gv_fat_footer_main_links"} <li><a href="{link_url}">{link_text}</a></li> {/exp:low_variables:pair} </ul> </div> <div id="footer-links" class="get-remote-content" data-remote-url="/smb/partials/footer-content"></div> </div> <div class="legal-footer fixed-width"> <span class="logo"><span class="pblogo-sm"></span></span> <ul class="footer-nav"> {exp:low_variables:pair var="gv_footer_nav"} <li><a href="{link_url}">{link_text}</a></li> {/exp:low_variables:pair} </ul> <p>&copy;{current_time format="%Y"} Pitney Bowes Inc. All rights reserved.</p> </div> </div>| {!-- Grab Google CDN jQuery. Fall back to local if necessary --} <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> <script>window.jQuery || document.write('<script src="/smb/assets/scripts/jquery-1.8.2.min.js"><\/script>')</script> {if global:env == "prod"} <script type="text/javascript"> var _gaq = _gaq || []; var pluginUrl = '//www.google-analytics.com/plugins/ga/inpage_linkid.js'; _gaq.push(['_require', 'inpage_linkid', pluginUrl]); _gaq.push(['_setAccount', '{gv_ga_profile}']); {if segment_1 == 'search'} {if segment_2 == 'results'} _gaq.push(['_trackPageview', '{site_url}search/results?q=' + encodeURIComponent('{exp:low_googlesearch:keywords keywords="{segment_3}"}')]); {/if} {/if} {if segment_2 != 'results'} var canonical_link; try{ canonical_link = $('link[rel=canonical]').attr('href').split(location.hostname)[1] || undefined; }catch(e){ canonical_link = undefined; } //_gaq.push(['_trackPageview', canonical_link]); _gaq.push(['_trackPageview']); {/if} (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> {/if} {if global:coremetrics_host} <script type="text/javascript" src="//libs.coremetrics.com/eluminate.js"></script> <script> cmSetClientID("{global:coremetrics_client_id}",false,"{global:coremetrics_host}","pb.com"); cmCreatePageviewTag("{exp:stash:get name='coremetrics_page'}","{exp:stash:get name='coremetrics_page'}"); </script> {/if} {if segment_1 == 'forms'} <script src="/smb/assets/scripts/parsley.min.js"></script> {/if} <script src="/smb/assets/scripts/script-ck.js?13"></script>|<ul id="nav-sub" class="secondary-nav" role="navigation"> {exp:low_replace casesensitive="no" regex="yes" find="(<a[^<>]*>)(.*?)<\/a>" replace="$1<span class=QUOTEnav-arrowQUOTE></span>$2</a>" } <li{if "/qr-codes/gallery/custom-qr-prints"=="/qr-codes"} class="current"{/if}><a href="/smb/qr-codes" title="pbSmart Codes Overview">pbSmart Codes</a></li> {exp:structure:nav current_class="current" start_from="/{segment_1}" include_ul="no" } {/exp:low_replace} </ul>|{if global:env == "prod"} <!-- Google Tag Manager --> <noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-Z6GK" height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-Z6GK');</script> <!-- End Google Tag Manager --> {/if} <div class="utility-nav" role="navigation"> <div class="container fixed-width"> <ul class="global-nav"> <li><a href="http://www.pb.com">Enterprise</a></li> <li class="current"><a href="/smb/">Small Business</a></li> </ul> <div class="options"> <ul class="options-nav"> <li><a href="/smb/partials/region_selector" class="lightbox" data-width="600" data-height="650" id="region-selector">United States <i class="header-gear"></i></a></li> <li id="signin_link"><a href="/smb/sign-in">Sign in</a> <div class="megamenu" style="display:none"> <ul> {exp:low_variables:pair var="gv_prod_login"} <li><a href="{login_url}">{login_name}</a></li> {/exp:low_variables:pair} </ul> </div> </li> </ul> {exp:low_googlesearch:form result_page="search/results" form_id="sitesearch" secure="no"} <fieldset> <input type="search" name="keywords" id="keywords" placeholder="Search"> <input type="submit" value="submit" class="header-search"> </fieldset> {/exp:low_googlesearch:form} </div> </div> </div>|{!-- If this item is not a preview, show the real data --} {if '{count}'=='1'} <div class="contact module"> <h3>{gv_contact_box_heading}</h3> <ul>{/if} {ct_contact_config} {exp:switchee variable="{item_type}" parse="inward"} {case value="chat"} <li class="{item_type}" id="jsChatLink" style="display:none;"> <span class="icon contact-chat"></span> {if item_link}<a href="{item_link}">{if:else}<strong>{/if} {item_title}<span>{item_line_two}</span> {if item_link}</a>{if:else}</strong>{/if} </li> {/case} {case value="phone"} <li class="{item_type}"> <span class="icon contact-phone"></span> {if item_link}<a href="{item_link}">{if:else}<strong>{/if} {item_title}<span>{item_line_two}</span> {if item_link}</a>{if:else}</strong>{/if} </li> {/case} {case value="email" default="Yes"} <li class="{item_type}"> <span class="icon contact-email"></span> {if item_link}<a href="{item_link}">{if:else}<strong>{/if} {item_title}<span>{item_line_two}</span> {if item_link}</a>{if:else}</strong>{/if} </li> {/case} {case value="support"} <li class="{item_type}"> <span class="icon contact-headset"></span> {if item_link}<a href="{item_link}">{if:else}<strong>{/if} {item_title}<span>{item_line_two}</span> {if item_link}</a>{if:else}</strong>{/if} </li> {/case} {case value="callme"} <li class="{item_type}"> <span class="icon contact-callme"></span> {if item_link}<a href="{item_link}">{if:else}<strong>{/if} {item_title}<span>{item_line_two}</span> {if item_link}</a>{if:else}</strong>{/if} </li> {/case} {/exp:switchee} {/ct_contact_config} {if '{count}'=='{total_results}'}</ul> </div>{/if} | {if '{count}'=='1'} <div class="customers container"> <h2 class="withLine">{gv_customers_heading}</h2> <div class="testimonials fixed-width">{/if} <div class="item{if '{count}'=='{total_results}'} last{/if}"> <a href="{cv_video_url}" class="lightbox" data-height="500" title="{title}"> {exp:ce_img:single src="{cv_thumbnail}" width="215" max_width="215" quality="72" class="rounded"} </a> <blockquote><p>{exp:low_widont}{cv_quote}{/exp:low_widont}</p></blockquote> <cite>{exp:low_widont}&mdash; {cv_customer_name}{if cv_customer_name_title}, {cv_customer_name_title}{/if}{/exp:low_widont}</cite> </div> {if '{count}'=='{total_results}'} </div> </div>{/if}|<ul class="breadcrumbs" role="navigation"> <li><a href="/smb">Small Business Marketing</a></li> {exp:structure:breadcrumb inc_home="no" inc_here="yes" inc_separator="no" here_as_title="yes" wrap_each="li" channel:title="overview:ov_breadcrumb_title|page_content:pg_breadcrumb_title" } </ul>|#nav-sub li.current .nav-arrow, .plans-pricing .option.special .cap, .plans-pricing .option.special .pricing-head-arrow-mask, .plans-pricing .option.special .ctabutton { background-color: {ov_feature_color} !important; } .detail a.ctabutton, .overview a.ctabutton, .item-listing a.ctabutton, .plans-pricing .option.special a.ctabutton { background-color: {ov_feature_color} !important; } .plans-pricing .option.special .price, .plans-pricing .pricing .option.special .learnmore { color: {ov_feature_color} !important; } .detail a.ctabutton:hover, .overview a.ctabutton:hover, .item-listing a.ctabutton:hover, .plans-pricing .option.special a.ctabutton:hover { background-color: {exp:hex_calc color="{ov_feature_color}" percent="15"} !important; }|1|Small Business Marketing|default_site|custom-qr-prints
(0.013115 / 14.62MB) Parse Date Format String Constants
(0.013238 / 14.62MB) Parse Current Time Variables
(0.013803 / 14.62MB) Parsing Segment, Embed, and Global Vars Conditionals
(0.029474 / 14.76MB) - Beginning Tag Processing -
(0.029565 / 14.71MB) Parsing Tags in Template
(0.029605 / 14.72MB) Tag: {exp:stash:not_empty name="qr-codes-color-styles" scope="site"}
(0.029722 / 14.72MB) No Closing Tag
(0.029821 / 14.72MB) Tag: {exp:channel:entries channel="overview" disable="categories|member_data|pagination|trackbacks" status="not Closed" dynamic="no" url_title="qr-codes" limit="1" }
(0.029941 / 14.73MB) Closing Tag Found
(0.030034 / 14.73MB) Tag: {exp:ce_cache:it driver="db" tags="detail" logged_out_only="no"}
(0.030134 / 14.73MB) Closing Tag Found
(0.030317 / 14.73MB) Processing Tags
(0.030362 / 14.73MB) Module Tag: Stash/not_empty
(0.030387 / 14.73MB) Module Tag: Channel/entries
(0.030411 / 14.73MB) Module Tag: Ce_cache/it
(0.030431 / 14.73MB) Including Files for Plugins and Modules
(0.042057 / 15.84MB) Files for Plugins and Modules All Included
(0.042872 / 15.87MB) Beginning Final Tag Data Processing
(0.042901 / 15.87MB) Calling Class/Method: Stash/not_empty
(0.043050 / 15.87MB) -> Class Called: Stash
(0.044690 / 15.99MB) -> Method Called: not_empty
(0.045626 / 15.99MB) Stash: RETRIEVED qr-codes-color-styles with value /* source: overview */ #nav-sub li.current .nav-arrow, .plans-pricing .option.special .cap, .plans-pricing .option.special .pricing-head-arrow-mask, .plans-pricing .option.special .ctabutton { background-color: #338289 !important; } .detail a.ctabutton, .overview a.ctabutton, .item-listing a.ctabutton, .plans-pricing .option.special a.ctabutton { background-color: #338289 !important; } .plans-pricing .option.special .price, .plans-pricing .pricing .option.special .learnmore { color: #338289 !important; } .detail a.ctabutton:hover, .overview a.ctabutton:hover, .item-listing a.ctabutton:hover, .plans-pricing .option.special a.ctabutton:hover { background-color: {exp:hex_calc color="#338289" percent="15"} !important; }
(0.045797 / 15.99MB) -> Data Returned
(0.045832 / 15.99MB) Calling Class/Method: Channel/entries
(0.046073 / 15.99MB) -> Class Called: Channel
(0.048673 / 16.25MB) -> Method Called: entries
(0.083026 / 19.64MB) Returning No Results Content
(0.083149 / 19.64MB) -> Data Returned
(0.083196 / 19.63MB) Calling Class/Method: Ce_cache/it
(0.096275 / 19.66MB) -> Class Called: Ce_cache
(0.096582 / 19.67MB) -> Method Called: it
(0.099369 / 19.83MB) &nbsp;&nbsp;***&nbsp;&nbsp;CE Cache Ce_cache::get debug: The 'ce_cache/4d2ba8/local/qr-codes/gallery/custom-qr-prints/item' item was found for the db driver.
(0.100176 / 19.83MB) -> Data Returned
(0.100286 / 19.78MB) - End Tag Processing -
(0.100324 / 19.78MB) Processing Advanced Conditionals
(0.102438 / 19.81MB) Calling Extension Class/Method: Stash_ext/template_post_parse
(0.103902 / 19.83MB) Calling Extension Class/Method: Structure_ext/template_post_parse
(0.105627 / 19.88MB) Calling Extension Class/Method: Ep_better_workflow_ext/on_template_post_parse
(0.105772 / 19.83MB) - End Template Processing -
(0.105788 / 19.83MB) Parse Global Variables
(0.108777 / 19.83MB) Template Parsing Finished
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment