A WordPress login page should not be served to anonymous visitors as a cached copy that includes another person's session state. Checking that boundary does not require publishing the custom login path or testing passwords. A small, read-only header audit can identify obvious cache mistakes while leaving authentication and security settings untouched.
DocsHook's login response carried private, no-store cache headers
On 2 November 2026, DocsHook made two anonymous GET requests to its configured custom login endpoint. Both returned HTTP 200 with Cache-Control including no-store and private, and LiteSpeed's cache-control marker said no-cache. Neither response carried a LiteSpeed page-cache hit; Cloudflare reported DYNAMIC. We did not submit credentials, inspect another user's session or change the login path. The exact route is intentionally omitted from this public article and evidence export.
This is a limited safety check. It does not prove every login-related URL, POST response, password-reset flow or geographic Cloudflare edge has been tested. It does show that these two anonymous responses were not obviously served as LiteSpeed page-cache hits and that the response itself requested private, non-stored handling.
Check login page cache headers without exposing the custom path
From a clean browser profile, request the known login page twice and save the final URL, status, Cache-Control, CF-Cache-Status, X-LiteSpeed-Cache and X-LiteSpeed-Cache-Control. Do the same for an unrelated public page as a control. A public guide may legitimately show X-LiteSpeed-Cache: hit; a login page should have a cache policy suited to sensitive interaction. Cloudflare documents how dynamic content and login requests can be affected by cache rules. LiteSpeed's cache configuration reference describes its own exclusions and response controls.
Avoid posting the custom route, cookies, response body or password-reset tokens in a support forum. Redact credential-bearing URLs from screenshots. A header check alone also cannot establish whether a CDN rule varies correctly by every cookie; use a controlled non-production environment for deeper authenticated tests if needed. LiteSpeed documents a separate "Cache Login Page" option, so a cache hit on a generic, anonymous login form is not by itself proof that another person's session was exposed. Check the site's intended policy and whether any response contains session-specific data before calling it a security failure.
Fix session-sensitive login caching without disrupting editor access
If a login or password-reset response exposes session-specific content through a shared cache, or if the site's intended exclusion fails, first identify whether the cached response came from the origin or CDN. Record current cache rules and exclusions before changing them. Exclude only the affected authentication endpoints and session responses at the responsible layer. Purge those entries, then repeat anonymous requests and verify a login/logout flow with a test account you control. A cache hit on a generic login form needs investigation, but it is not a reason on its own to change a working security configuration. Do not change a hidden-login route or disable the security plugin merely to fix cache behavior.
If the rule causes login or public-page problems, restore its prior value and retest both the login page and the control page. Do not treat a public page's cache hit as evidence that the login page is also cached. DocsHook's read-only sample required no repair; no production cache rule was changed for this article. The visitor cache diagnosis explains the separate question of stale public HTML.