Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2018-06-19 10:53:41

gavnosis
Member
From: Milton Keynes, UK
Registered: 2005-03-12
Posts: 151
Website

4.7.0 upgrade browser cache warning

After an upgrade from 4.6.2 the admin pages all have this message appear

Please force-reload the page or clear your browser caches

Is this normal? And more importantly what’s the best way to make it go away?

Offline

#2 2018-06-19 11:22:54

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

Re: 4.7.0 upgrade browser cache warning

Please force-reload the page or clear your browser caches... appears in line 151 of /textpattern/lib/txplib_head.php

And more importantly what’s the best way to make it go away?

Just do what the message says. Nothing bad will happen. (If you’re on Firefox, press cmd-shift-R for refreshing only the cache of the page/site in question, so the rest of your caches remain untouched.)


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

Offline

#3 2018-06-19 11:24:24

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

Re: 4.7.0 upgrade browser cache warning

gavnosis wrote #312626:

Is this normal? And more importantly what’s the best way to make it go away?

It most probably means that your browser uses an old cached textpattern.js version, which is not fully compatible with 4.7. Please make sure that you have uploaded the latest file and hit Ctrl/Cmd+F5 (or whatever needed) on any admin page to bypass the cache.

Offline

#4 2018-06-19 11:34:04

gavnosis
Member
From: Milton Keynes, UK
Registered: 2005-03-12
Posts: 151
Website

Re: 4.7.0 upgrade browser cache warning

Okay, thank you

Offline

#5 2018-06-19 12:00:53

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,079
Website

Re: 4.7.0 upgrade browser cache warning

Hopefully we’ll have a better solution in place for 4.8. For an iPhone user, I had to dive into the htaccess file and send no-cache headers for the js file before the message would go away. Clearing the caches is not and easy thing to do on iOS (and Safari was pretty stubborn…).


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

#6 2018-06-19 17:01:29

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

Re: 4.7.0 upgrade browser cache warning

phiw13 wrote #312631:

Hopefully we’ll have a better solution in place for 4.8. For an iPhone user, I had to dive into the htaccess file and send no-cache headers for the js file before the message would go away. Clearing the caches is not and easy thing to do on iOS (and Safari was pretty stubborn…).

Maybe augmenting the version of the js in its name?


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 2018-06-19 22:51:17

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 3,079
Website

Re: 4.7.0 upgrade browser cache warning

colak wrote #312634:

Maybe augmenting the version of the js in its name?

This branch has some alternative solution (better solution probably). Unfortunately, if memory serves, this could/can not be used for TXP 4.7 use to the supported browser matrix (IE11, Safari < 10.1 ?, others ?).

Edit: With more discussion here.

Last edited by phiw13 (2018-06-19 22:53:31)


Where is that emoji for a solar powered submarine when you need it ?
Sand space – admin theme for Textpattern

Offline

Board footer

Powered by FluxBB