J4 Issue ? ?
avatar PhilETaylor
PhilETaylor
3 May 2017

Lets try this one last time...

In order for mysql caching to be most performant, the queries need to be exactly the same

At the moment each query with a publish_up/publish_down time in it has a second part to the time

This means that mysql cannot cache the query.

Suggestions include (over the years)

  1. Remove the seconds - meaning mysql can only cache for a minute

  2. Allow this to be configurable, either use just days or hours or mins or second based timestamps in the SQL queries (always allowing the full datetime to be stored when saving the articles)

  3. answers on a postcard please...

Joomla 4 is a great time to revisit this... making Joomla more performant and breaking with b/c

avatar PhilETaylor PhilETaylor - open - 3 May 2017
avatar joomla-cms-bot joomla-cms-bot - change - 3 May 2017
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 3 May 2017
avatar PhilETaylor PhilETaylor - edited - 3 May 2017
avatar joomla-cms-bot joomla-cms-bot - change - 3 May 2017
The description was changed
avatar joomla-cms-bot joomla-cms-bot - edited - 3 May 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 3 May 2017
Category com_cache Feature Request SQL
avatar franz-wohlkoenig franz-wohlkoenig - change - 9 Jun 2017
Status New Information Required
avatar joomla-cms-bot joomla-cms-bot - edited - 9 Jun 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 9 Jun 2017
Title
[4.0RFC] Remove per second publish_up/publish_down times
[4.0] [RFC] Remove per second publish_up/publish_down times
avatar joomla-cms-bot joomla-cms-bot - edited - 9 Jun 2017
avatar franz-wohlkoenig franz-wohlkoenig - change - 19 Aug 2017
Status Information Required Discussion
avatar franz-wohlkoenig franz-wohlkoenig - change - 26 Aug 2017
Status Discussion New
avatar franz-wohlkoenig franz-wohlkoenig - change - 9 Nov 2017
Status New Discussion
avatar brianteeman brianteeman - change - 25 Mar 2018
Labels Added: J4 Issue
avatar brianteeman brianteeman - labeled - 25 Mar 2018
avatar joomla-cms-bot joomla-cms-bot - change - 25 Mar 2018
Labels Added: ?
avatar joomla-cms-bot joomla-cms-bot - labeled - 25 Mar 2018
avatar brianteeman
brianteeman - comment - 10 Apr 2018

Sorry but as there has been no interest by anyone in moving forward with this feature request I am going to close it,

avatar brianteeman brianteeman - change - 10 Apr 2018
Status Discussion Closed
Closed_Date 0000-00-00 00:00:00 2018-04-10 13:37:43
Closed_By brianteeman
avatar brianteeman brianteeman - close - 10 Apr 2018
avatar PhilETaylor
PhilETaylor - comment - 10 Apr 2018

Just like the same that happened at every major series since the start... its a shame, because this one change would make Joomla content a lot more performance and cacheable.

avatar mbabker
mbabker - comment - 10 Apr 2018

If I had time I'd take it. But, well, prepared statements aren't going to write themselves.

avatar PhilETaylor
PhilETaylor - comment - 10 Apr 2018

I could not see the point in doing any code until it at least had some interest here.. which apparently it doesnt :(

avatar brianteeman
brianteeman - comment - 10 Apr 2018

@PhilETaylor if its so important to you then PR is welcome and I will personally ensure that it gets tested promptly. Unfortunately with issues like this many people wait to see code as they can not visualise the issue or they do not have the development skills to appreciate the issue

Add a Comment

Login with GitHub to post a comment