?
avatar pe7er
pe7er
13 Jul 2016

The Clear Cache button on the Joomla Update page is confusing.
It does not clear Joomla's cache, but Joomla's Update Channel cache.

Steps to reproduce the issue

On Joomla 3.5.1 (with Conservative Cache = ON), go to Components > Joomla! Update > I choose Install the update

screen shot 2016-07-13 at 01 59 57

screen shot 2016-07-13 at 02 00 22

Everything went okay. My website was successfully updated to Joomla 3.6.0.
As recommended I cleared the cache by pressing the Clear Cache button.

screen shot 2016-07-13 at 02 00 31

However, after pressing the Clear Cache button, I did not get a message "Cleared Cache" but instead "Cleared Updates"

screen shot 2016-07-13 at 02 00 36

Expected result

I expected that pressing the Clear Cache button on Joomla's Update page would have cleared all cache.

Actual result

It did not clear all cache, but only the Joomla Update cache?

If you go to Extensions > Manage > Install, the options for installing extensions are missing:

screen shot 2016-07-13 at 02 00 53

But the necessary Plugins are all enabled:

screen shot 2016-07-13 at 02 01 07

As that seemed cache related, I had to empty Joomla's cache:
System > Clear Cache > Select [Administrator] > Delete All

screen shot 2016-07-13 at 02 01 15

After that, the administrator cache was cleared:

screen shot 2016-07-13 at 02 01 22

And I was able to use the Extension installer again:

screen shot 2016-07-13 at 02 01 27

Votes

# of Users Experiencing Issue
2/2
Average Importance Score
2.50

avatar pe7er pe7er - open - 13 Jul 2016
avatar brianteeman
brianteeman - comment - 13 Jul 2016

I "think" the functionality of that button is the same as the "refresh cache" button in "Extensions: Manage"

So I think we have TWO different issues to resolve here

  1. The button and its message need changing to more accurately reflect what they do
  2. There should be a message immediately on an update recommending to clear the cache and a direct link to the cache manager where you can do that
avatar DavidBoggitt
DavidBoggitt - comment - 13 Jul 2016

Forgive me if this is a daft question (from a non-coder), but is it possible to build in the functionality to empty Joomla's cache after a core update?

Many thanks,

Dave.


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11090.

avatar pe7er
pe7er - comment - 13 Jul 2016

Good question/suggestion @DavidBoggitt
I don't know if that is possible.

I was thinking about changing the language file with a clickable link to the System > Clear Cache > Select [Administrator] page...

avatar brianteeman
brianteeman - comment - 13 Jul 2016

@pe7er I think thats a good start

On 13 July 2016 at 10:57, Peter Martin notifications@github.com wrote:

Good question/suggestion @DavidBoggitt https://github.com/DavidBoggitt
I don't know if that is possible.

I was thinking about changing the language file with a clickable link to
the System > Clear Cache > Select [Administrator] page...


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#11090 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ABPH8VrRztEg68OP5BI5XzqYE9MVXqvCks5qVLZsgaJpZM4JLINb
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar andrepereiradasilva
andrepereiradasilva - comment - 13 Jul 2016

I "think" the functionality of that button is the same as the "refresh cache" button in "Extensions: Manage"
So I think we have TWO different issues to resolve here
1. The button and its message need changing to more accurately reflect what they do
2. There should be a message immediately on an update recommending to clear the cache and a direct link to the cache manager where you can do that

3.And, since joomla doesn't implement browser cache busting in all static files (js/css/etc), another message to inform to the user to clear the browser cache. Or Joomla should implement cache busting (See related issue #9638).

avatar pe7er
pe7er - comment - 13 Jul 2016

@brianteeman or what about changing the [Clear Cache] to [Clear Update Channel]
and adding a second real [Clear Cache] button (that triggers the [Delete All] functionality) ?

avatar brianteeman
brianteeman - comment - 13 Jul 2016

I prefer Refresh to Clear Update Channel

And I prefer Clear web site cache to Clear cache

On 13 July 2016 at 11:04, Peter Martin notifications@github.com wrote:

@brianteeman https://github.com/brianteeman or what about changing the
[Clear Cache] to [Clear Update Channel]
and adding a second real [Clear Cache] button (that triggers the [Delete
All] functionality) ?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#11090 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ABPH8c00Fj4Eaa9iFGZJsrRUgkef6COLks5qVLgZgaJpZM4JLINb
.

Brian Teeman
Co-founder Joomla! and OpenSourceMatters Inc.
http://brian.teeman.net/

avatar andrepereiradasilva
andrepereiradasilva - comment - 13 Jul 2016

can't we add that clean cache behaviour to the update script?

avatar mbabker
mbabker - comment - 13 Jul 2016
avatar brianteeman
brianteeman - comment - 3 Aug 2016

Closing as we have a PR for testing #11423


This comment was created with the J!Tracker Application at issues.joomla.org/joomla-cms/11090.

avatar brianteeman brianteeman - close - 3 Aug 2016
avatar brianteeman brianteeman - change - 3 Aug 2016
Status New Closed
Closed_Date 0000-00-00 00:00:00 2016-08-03 18:57:45
Closed_By brianteeman

Add a Comment

Login with GitHub to post a comment