-
Notifications
You must be signed in to change notification settings - Fork 251
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Refactor Cache API #6013
Refactor Cache API #6013
Conversation
a20141b
to
5a0ed1d
Compare
Note: Travis build is currently failing due to a problem with Travis itself. |
To fix Travis builds, please merge release-2.1 into this branch. |
c6b50c2
to
22ed009
Compare
548404d
to
c81efaa
Compare
This is now considered done. Please test it specially with the other cache options. |
c81efaa
to
d80dacb
Compare
It seems GitHub ate a lot of commits, will investigate why or try to bring them back. |
Found the issue, GitHub for some reason took the same branch as a different one, merged both. |
IMO any major refactoring should be postponed for the next major version. |
I agree. However, this isn't a major refactor. The abstract class and interface already exists, there is no change in how the cache apis work and are implemented (besides how the current cache info is stored). This changes makes sure anyone wanting to add another cache engine should follow our structure and makes it easier to add more engines. |
uhh. okay then...
…On Tue, Feb 25, 2020 at 7:04 AM Michel Mendiola ***@***.***> wrote:
I agree. However, this isn't a major refactor. The abstract class and
interface already exists, there is no change in how the cache apis work and
are implemented.
This changes makes sure anyone wanting to add another cache engine should
follow our structure and makes it easier to add more engines.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#6013>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AADJNN74WAONZI37YHVCGA3REUQNNANCNFSM4KSY5HMQ>
.
|
d869754
to
d99374b
Compare
6bba77e
to
da6ac2d
Compare
Bump, we still need a proper API implementation. $cache_accelerator still holds a plain string and a few fixes to the current cache implementation are also included. |
Signed-off-by: Jessica González <suki@missallsunday.com>
Signed-off-by: Jessica González <suki@missallsunday.com>
Signed-off-by: Jessica González <suki@missallsunday.com>
Signed-off-by: Jessica González <suki@missallsunday.com>
Signed-off-by: Jessica González <suki@missallsunday.com>
Signed-off-by: Jessica González <suki@missallsunday.com>
Signed-off-by: Jessica González <suki@missallsunday.com>
Signed-off-by: Jessica González <suki@missallsunday.com>
Signed-off-by: Jessica González <suki@missallsunday.com>
…ache versions Signed-off-by: Jessica González <suki@missallsunday.com>
Signed-off-by: Jessica González <suki@missallsunday.com>
Signed-off-by: Jessica González <suki@missallsunday.com>
Signed-off-by: Jessica González <suki@missallsunday.com>
Signed-off-by: Jessica González <suki@missallsunday.com>
…sion, fallback to N/A Fixes SimpleMachines#6110 Signed-off-by: Jessica González <suki@missallsunday.com>
Signed-off-by: Jessica González <suki@missallsunday.com>
Signed-off-by: Jessica González <suki@missallsunday.com>
Ref: SimpleMachines#5969 Signed-off-by: Jessica González <suki@missallsunday.com>
Ref: SimpleMachines#5969 Signed-off-by: Jessica González <suki@missallsunday.com>
… class Signed-off-by: Jessica González <suki@missallsunday.com>
Signed-off-by: Jessica González <suki@missallsunday.com>
Signed-off-by: Jessica González <suki@missallsunday.com>
Signed-off-by: Jessica González <suki@missallsunday.com>
Signed-off-by: Jessica González <suki@missallsunday.com>
Signed-off-by: Jessica González <suki@missallsunday.com>
32b8d56
to
fc383dc
Compare
Signed-off-by: Jessica González <suki@missallsunday.com>
/** | ||
* Creates the json_encoded array for the current cache option. | ||
* | ||
* @return string a json_encoded array with the selected API options |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is the JSON?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is not json entry anymore, it still is a plain string I just forgot to update the dock block
This PR refactors the current cache API
Tested on Mac Mojave and Ubuntu 18.04.4 using Sqlite, File based and Memcached options.
Fixes #6110