Why logged-out visitors still see last week’s design
You update the site and it looks right to you. Your customers, who aren’t signed in, still get the old files for weeks.
A common report after an update: “It works when I’m logged in, but customers see the old version.” The cause is usually caching, and it only hits visitors who aren’t signed in, which is almost everyone.
The cause
WordPress marks each stylesheet and script with a version, like style.css?ver=2.1, so browsers fetch a fresh copy after an update. For logged-out visitors, LiteSpeed can remove that ?ver= part, and the server tells browsers to keep files for a year. Same address, so the old file stays.
The fix
- Put the version in the folder name instead of the query, for example
/assets/2.54.0/style.css. A new version is a new address, so every browser fetches it. - Raise the version number on every release, even small ones.
- When something “only works logged in”, test in a private window before anything else.