-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Cache wp core download files after the first run. To speed up the process of installation and reduce unnecessary downloads.
When cache is empty: (These should be skipped if user has passed (--version flag while installation)):
- For first install run
wp core download. - Cache the downloaded WordPress file in EasyEngine cache directory (
EE_CACHE_DIR).
On next install:
- Copy the cached files to htdocs.
- Run
wp core verify-checksum --version=$(wp core version)(Need better way to verify integrity of cache files.wp core versioncan be maniuplated if the files are wrong). On failure purge cache and proceed with cache empty scenario. - Once checksum is verified. Run
wp core updateto check for update and update to latest version of any. - If WordPress gets updated in the above, cache the updated files.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request