Jump to content

Featured Replies

Posted

Hi is it best practice to enable debug in production? also, will it include or log AJAX request?

Thanks.

Solved by teraßyte

Go to solution
  • Solution

No. Don't enable IN_DEV on a production site. Everything will slow to a crawl since the cache data is rebuilt on each page load, etc.

 

If you really need it, make a test site using a copy of the live site's data (database + files), update conf_global with the test site details, clear the cache in ACP, upload the IN_DEV files, and finally enable the IN_DEV constant in the constants.php file.

Edited by teraßyte

  • Author
2 hours ago, teraßyte said:

No. Don't enable IN_DEV on a production site. Everything will slow to a crawl since the cache data is rebuilt on each page load, etc.

 

If you really need it, make a test site using a copy of the live site's data (database + files), update conf_global with the test site details, clear the cache in ACP, upload the IN_DEV files, and finally enable the IN_DEV constant in the constants.php file.

thank you

Recently Browsing 0

  • No registered users viewing this page.