Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 Yesterday 12:41:01

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,766
GitHub

"Clear your cache" message on `release-demo`

Among other temperamental things on the current demo server, I’m troubleshooting the clear-your-cache message on the admin side when there’s typically a mismatch of files and cache.

A request to anyone using release-demo: in a clean browser, do you see the clear-your-cache after login? Does it persist as you navigate?

Thank you.

Offline

#2 Yesterday 16:18:21

giz
Plugin Author
From: New Zealand
Registered: 2004-07-26
Posts: 439
Website GitHub Twitter

Re: "Clear your cache" message on `release-demo`

It persists in a variety of contexts, and then magically goes away after a few hours.

Offline

#3 Yesterday 17:12:29

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,766
GitHub

Re: "Clear your cache" message on `release-demo`

giz wrote #342766:

It persists in a variety of contexts, and then magically goes away after a few hours.

Thanks, giz. It’s baffling to me.

Offline

#4 Yesterday 17:22:15

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,392
Website GitHub Mastodon Twitter

Re: "Clear your cache" message on `release-demo`

I get no such error. Is there a way to reproduce it?


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#5 Yesterday 17:23:23

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,766
GitHub

Re: "Clear your cache" message on `release-demo`

colak wrote #342768:

Is there a way to reproduce it?

Annoyingly, no – not that I know of.

Offline

#6 Yesterday 17:25:26

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,392
Website GitHub Mastodon Twitter

Re: "Clear your cache" message on `release-demo`

I logged in and there was no message, then logged out and logged in again. All behaved as expected.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#7 Yesterday 19:34:38

etc
Developer
Registered: 2010-11-11
Posts: 5,686
Website GitHub

Re: "Clear your cache" message on `release-demo`

Nothing unusual in my tests. What exactly the message says?

Offline

#8 Yesterday 20:07:44

gaekwad
Server grease monkey
From: People's Republic of Cornwall
Registered: 2005-11-19
Posts: 4,766
GitHub

Re: "Clear your cache" message on `release-demo`

I wonder if this is restricted to macOS. Looking at giz’ post history, there’s evidence of macOS…I’m on macOS…I had an email earlier from another macOS user with the same error, hence my OP.

etc wrote #342772:

Nothing unusual in my tests. What exactly the message says?

“Please force-reload the page or clear your browser caches.”

Offline

#9 Today 05:43:09

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,392
Website GitHub Mastodon Twitter

Re: "Clear your cache" message on `release-demo`

gaekwad wrote #342773:

I wonder if this is restricted to macOS. Looking at giz’ post history, there’s evidence of macOS…I’m on macOS…I had an email earlier from another macOS user with the same error, hence my OP.

I’m on MacOS 14.5 (Sonoma) without any issues. It may be an issue for newer OS users.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#10 Today 09:19:03

Algaris
Member
From: England
Registered: 2006-01-27
Posts: 608

Re: "Clear your cache" message on `release-demo`

I’m running macOS 26.3. When I logged into the Textpattern 4.9.1 demo I got the message: “Please force-reload the page or clear your browser caches.” I didn’t get the message in the Textpattern 5.0-dev demo.

I tested this in Safari Version 26.3 and Firefox 148.0.

Last edited by Algaris (Today 09:23:15)

Offline

#11 Today 09:41:52

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 12,488
Website GitHub

Re: "Clear your cache" message on `release-demo`

I run macOS Sequoia and it happened to me on the release-demo. Firefox and Safari latest.

Interesting that giz notes it does it initially then goes away. Not sure if that’s later on the same “instance” or after the three-hourly rebuild. Maybe the act of someone else visiting the site and refreshing kicks it into shape? Bit of a stretch, I admit.

For the record, it won’t happen on dev instances ‘cos we only do the version checks on release versions, as far as I recall.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Hire Txp Builders – finely-crafted code, design and Txp

Offline

#12 Today 09:43:56

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,319

Re: "Clear your cache" message on `release-demo`

I also see that message on Android (13) with any browser I tried, Cromite, Mull (a Firefox derivative), Privacy Browser, Fulguris (webview driven).


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#13 Today 09:45:47

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,319

Re: "Clear your cache" message on `release-demo`

I also see that message on Android (13) with any browser I tried, Cromite, Mull (a Firefox derivative), Privacy Browser, Fulguris (webview driven).


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#14 Today 09:45:51

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,319

Re: "Clear your cache" message on `release-demo`

I also see that message on Android (13) with any browser I tried, Cromite, Mull (a Firefox derivative), Privacy Browser, Fulguris (webview driven).


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#15 Today 10:06:13

etc
Developer
Registered: 2010-11-11
Posts: 5,686
Website GitHub

Re: "Clear your cache" message on `release-demo`

The only instance where this warning appears in the code is:

    if (!textpattern.version || !'".txp_version."'.match(textpattern.version)) {
        alert('Please force-reload the page or clear your browser caches.')
    }

Admittedly, when a client visits the 4.9.1 demo for the first time, it loads a cached 4.8 textpattern.js version, whence the mismatch with db version. But it should be ok after a hard-refresh. Server-side cache might be interfering, but it serves the right version in my tests.

Offline

Board footer

Powered by FluxBB