XF 2.2 How to see how fast page was generated on server side

  • Thread starter Thread starter Deleted member 225812
  • Start date Start date
Debug mode will show that, but it's not recommended to have it active for a production site.

If you must do it on your live site, restrict it your own IP address.

Add this to the config.php file and change the 0.0.0.0 to your IP.
Code:
if (isset($_SERVER['REMOTE_ADDR']) && $_SERVER['REMOTE_ADDR'] == '0.0.0.0')
{
    $config['debug'] = true;
}
 
Top Bottom