In the event that you notice some delay in displaying content on your SuperSite/PartnerSite, Sree Jain Infotech allows you to pinpoint the cause for this delay, through a nifty tool. If you are not able to troubleshoot the reason for this lag through this tool, we would request you to forward Sree Jain Infotech the output of this tool at http://support.bookandhost.com.
Enabling this tool There are two ways in which you can enable this tool on your SuperSite/PartnerSite: Sample Output ============================================================================ 1 82.7694 ms ( 5.03 %) unprofiled
1. You may enable this tool from your SuperSite/PartnerSite URL by submitting the following URL, and then navigate over to the page that is taking time to load
http://<Your SuperSite URL>/?show_profiler=true
http://<Your PartnerSite URL>/?show_profiler=true
2. You may also visit the page which is taking time to load and enable this tool directly from that page, by submitting the URL, as displayed in the following example -
http://<Your SuperSite URL>/somepage.php?show_profiler=true
http://<Your PartnerSite URL>/somepage.php?show_profiler=true
However if the URL already has some parameters being passed to it through "&", then you need to enable this tool by submitting the URL as displayed in the following example -
http://<Your SuperSite URL>/somepage.php?action=promos&show_profiler=true
http://<Your PartnerSite URL>/somepage.php?action=promos&show_profiler=true
Upon enabling this tool, you would notice results such as the following, at the very bottom of that page -
PROFILER OUTPUT
============================================================================
Calls Time Routine
-----------------------------------------------------------------------------
1 4.2040 ms ( 0.26 %) common/footer/footer.html
1 3.9160 ms ( 0.24 %) common/header/header.html
1 2.2640 ms ( 0.14 %) common/header/includes/change_language.html
1 9.7451 ms ( 0.59 %) common/header/includes/header_cart.html
1 3.5040 ms ( 0.21 %) common/header/includes/header_dashboard.html
1 3.5779 ms ( 0.22 %) common/header/includes/header_logindiv.html
1 2.5790 ms ( 0.16 %) common/header/includes/static_bar_under_menu.html
1 0.2789 ms ( 0.02 %) footer
1 159.7109 ms ( 9.70 %) getCountryCodeForIP
1 414.6559 ms ( 25.18 %) getResellerDetailsFromURL
1 3.3398 ms ( 0.20 %) header
1 22.2020 ms ( 1.35 %) homepage/index.html
1 3.5648 ms ( 0.22 %) promos/sidebar_promo_blurb.html
1 7.3581 ms ( 0.45 %) root.html
1 14.2081 ms ( 0.86 %) sidebars/sidebar.html
...
In the bottom, you will see something like this:
838.3358 ms ( 50.90 %) Missed
============================================================================
1647.0261 ms (100.00 %) OVERALL TIME
============================================================================
Disabling this tool
Once you have noted the complete output of this tool (as displayed above), you should disable it. This can be disabled in any one of the following ways:
1. You may disable this tool from your SuperSite/PartnerSite URL
http://<Your SuperSite URL>/?show_profiler=false
http://<Your PartnerSite URL>/?show_profiler=false
2. You can visit any page and disable this tool from that page, by submitting the URL, as displayed in the following example -
http://<Your SuperSite URL>/somepage.php?show_profiler=false
http://<Your PartnerSite URL>/somepage.php?show_profiler=false
However if the URL already has some parameters being passed to it through "&", then you need to disable this tool by submitting the URL as displayed in the following example -
http://<Your SuperSite URL>/somepage.php?action=promos&show_profiler=false Once you close your browser window, this tool gets automatically disabled.
http://<Your PartnerSite URL>/somepage.php?action=promos&show_profiler=false