Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
litespeed_wiki:cache:lscxf:installation [2016/09/30 21:28]
Rob Holda [More Accurate Guest Count]
litespeed_wiki:cache:lscxf:installation [2016/09/30 21:31]
Rob Holda [XenForo Debug Mode]
Line 64: Line 64:
 ===== Testing ===== ===== Testing =====
  
-You can check if a page is being served from LSCXF by using your browser'​s developer ​tool to check the response header for the HTML file. This can usually be done by right clicking on the page and selecting some form of “Inspect”. Then click on the “Network” tab in the inspector and reload ​the page. If you see “X-LiteSpeed-Cache:​ hit” in the response header for the HTML file(usually listed first), then the page is being served by LSCXF. ​+You can check if a page is being served from LSCXF by using your browser'​s developer ​tools to check the response header for the HTML file. This can usually be done by right clicking on the page and selecting some form of “Inspect”. Then clicking ​on the “Network” tab in the inspector and reloading ​the page. If you see “X-LiteSpeed-Cache:​ hit” in the response header for the HTML file (usually listed first), then the page is being served by LSCXF. ​
  
 ===== XenForo Debug Mode ===== ===== XenForo Debug Mode =====
  
-To enable debug mode in XenForo , add the following to "​config.php"​ under XenForo'​s "​library"​ directory:+To enable debug mode in XenForo, add the following ​lines to your "​config.php" ​file under XenForo'​s "​library"​ directory:
  
-<​code>​$config['​debug'​] = true;</​code>​ \\ **Note:​** ​It is not recommended ​to enable debug mode on a production site as it will increase resource utilization.+<​code>​$config['​debug'​] = true;</​code>​ \\ **Note:​** ​Enabling debug mode is not recommended on a production site as it will increase resource utilization.
  
 If you would like to enable debug mode only for certain IPs, you can instead add the following: If you would like to enable debug mode only for certain IPs, you can instead add the following:
Line 76: Line 76:
 <​code>​if($_SERVER['​REMOTE_ADDR'​] == '​127.0.0.1'​){$config['​debug'​] = true;​}</​code>​ <​code>​if($_SERVER['​REMOTE_ADDR'​] == '​127.0.0.1'​){$config['​debug'​] = true;​}</​code>​
  
-Where you can replace ​127.0.0.1 with the desired IP Address.+Replacing ​127.0.0.1 with the desired IP Address.
  • Admin
  • Last modified: 2019/05/17 14:37
  • by Kacey Schroeder