Skip to content
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

Cache core and plugin updates #856

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open

Conversation

pupi1985
Copy link
Contributor

Keeps track of pending plugin and core updates.

Plugins are checked on date set in the plugin_update_last_check option. Plugin IDs and versions are stored in the plugin_update_cache option, as JSON. Only updates are stored. It could be possible to use one option to store everything and include the last check date (as the core, below). I'm inclined to keep the rows used to the minimum, as long as they make sense.

The core works in the same way but the last check is stored in the same option row as the version and they are stored as a JSON object as well.

The approach invalidates the cache as discussed here: #769 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant