Allan - TheTechTribe Posted May 21 Share Posted May 21 Hi is it best practice to enable debug in production? also, will it include or log AJAX request? Thanks. Link to comment Share on other sites More sharing options...
Solution teraßyte Posted May 21 Solution Share Posted May 21 (edited) 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 May 21 by teraßyte Marc, Allan - TheTechTribe and SeNioR- 2 1 Link to comment Share on other sites More sharing options...
Allan - TheTechTribe Posted May 21 Author Share Posted May 21 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 SeNioR- 1 Link to comment Share on other sites More sharing options...
Recommended Posts