Invision Community 5: A video walkthrough creating a custom theme and homepage By Matt Thursday at 04:02 PM
Allan - TheTechTribe Posted May 21 Posted May 21 Hi is it best practice to enable debug in production? also, will it include or log AJAX request? Thanks.
Solution teraßyte Posted May 21 Solution 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 SeNioR-, Marc and Allan - TheTechTribe 2 1
Allan - TheTechTribe Posted May 21 Author 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
Recommended Posts