Troubleshooting Delays in Displaying your SuperSite 2 / PartnerSite Pages

In the event that you notice some delay in displaying content on your SuperSite 2 / PartnerSite, MewHosting 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 MewHosting the output of this tool at [email protected].

Enabling this tool

There are two ways in which you can enable this tool on your SuperSite 2 / PartnerSite.

  • You may enable this tool from your SuperSite 2 / PartnerSite URL by submitting the following URL, and then navigate over to the page that is taking time to load.

    https://<Your SuperSite 2 URL>/?show_profiler=true

    https://<Your PartnerSite URL>/?show_profiler=true

  • 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:

    https://<Your SuperSite 2 URL>/somepage.php?show_profiler=true

    https://<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 :

    https://<Your SuperSite 2 URL>/somepage.php?action=promos&show_profiler=true

    https://<Your PartnerSite URL>/somepage.php?action=promos&show_profiler=true

    Note
    • When you enable this tool for your SuperSite 2 / PartnerSite, then the results of this tool are displayed only to you.

    • Your SuperSite 2 / PartnerSite continues to be displayed normally to other people.

Upon enabling this tool, you would notice results such as the following, at the very bottom of that page:

Sample Output

============================================================================

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:

 

1 82.7694 ms ( 5.03 %) unprofiled

 

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:

  • You may disable this tool from your SuperSite2 / PartnerSite URL

    https://<Your SuperSite 2 URL>/?show_profiler=false

    https://<Your PartnerSite URL>/?show_profiler=false

  • You can visit any page and disable this tool from that page, by submitting the URL, as displayed in the following example:

    https://<Your SuperSite 2 URL>/somepage.php?show_profiler=false

    https://<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:

    https://<Your SuperSite 2 URL>/somepage.php?action=promos&show_profiler=false

    https://<Your PartnerSite URL>/somepage.php?action=promos&show_profiler=false

    Note

    Once you close your browser window, this tool gets automatically disabled.