Core packages caching

Caching for WordPress core packages.
Follow-up to #900 and #619.