This PR makes the proxy feature a bit more user friendly, according to @metmarkosaric and @ukutaht's comments. It also fixes a few bugs and adds LiteSpeed Cache compatibility.
Disabled:
The test button is disabled, because the API is now disabled if the Proxy feature is disabled (to save memory).
I left the Proxy status box there on purpose, when the Proxy is disabled. So that people expect something to appear there when the proxy is enabled.
Enabled:
Edit: In the last few commits the Proxy Status box is removed, and replaced by an admin wide, dismissable notice if the Proxy Speed Module failed to install, providing a link to a solution.
This PR makes the proxy feature a bit more user friendly, according to @metmarkosaric and @ukutaht's comments. It also fixes a few bugs and adds LiteSpeed Cache compatibility.
Disabled:
The test button is disabled, because the API is now disabled if the Proxy feature is disabled (to save memory).
I left the Proxy status box there on purpose, when the Proxy is disabled. So that people expect something to appear there when the proxy is enabled.
Enabled:
Edit: In the last few commits the Proxy Status box is removed, and replaced by an admin wide, dismissable notice if the Proxy Speed Module failed to install, providing a link to a solution.