Skip to content

Manage LiteSpeed login-page caching

  1. Choose the intended servers and sites. Start with one installation.
  2. Use the disable action when login CAPTCHA requires an uncached response; use Enable login-page caching only when compatible.
  3. Open Choose action → Bulk tools → Performance, then choose the intended login-page caching action under LiteSpeed.

LiteSpeed action group showing Enable login-page caching and Disable login-page caching

Choose the intended login-page action separately from cache purging or configuration reset. The menu does not show a completed change. Select the image to view it full size; use your browser’s Back command to return.
  1. Review the action and targets, then confirm. Read every site’s final result, including skips. Finished can include failed sites; see Read the outcome.

Check login and password-recovery forms after the change. Keep WordPress Settings Exclude login page from LiteSpeed cache consistent with the intended daily policy.

WordPress Settings showing Exclude login page from LiteSpeed cache and Clear LiteSpeed cache

Login-page exclusion and a cache purge are separate policies. Match the recurring choice to the login flow you need. Select the image to view it full size; use your browser’s Back command to return.

From a root terminal on the server hosting the sites, disable cached login pages when using cPFence WAF CAPTCHA or another dynamic login control:

Terminal window
cpfence --bulk-disable-ls-cache-login-page

Re-enable caching only when the login flow is compatible:

Terminal window
cpfence --bulk-enable-ls-cache-login-page

Choose the appropriate command, then review /var/log/cpfenceav/wp-sites-list.txt and the inventory confirmation. These commands use this server’s listed installations, not the checked WebUI rows. The disable action adds /wp-login.php to LiteSpeed’s cache exclusions; the enable action removes that exact exclusion.

Read every site’s final output and test login, CAPTCHA and password recovery. Keep the recurring Exclude login page from LiteSpeed cache policy consistent so daily protection does not reverse your intended choice.