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 downloaded translations #12

Open
MrHaroldA opened this issue Mar 31, 2020 · 1 comment
Open

Cache downloaded translations #12

MrHaroldA opened this issue Mar 31, 2020 · 1 comment

Comments

@MrHaroldA
Copy link

Every time composer drupal:l10n is called, it downloads the exact same translation files from drupal.org. This is a waste of bandwidth and time, especially on larger projects.

Is there a way to cache these downloads?

@FlorentTorregrosa
Copy link
Contributor

Hello,

Thanks for the suggestion.

I don't know the API of Composer cache, but maybe it can be used, but it will require to be able to check the timestamp of the downloaded files to be sure to have the last up-to-date versions.

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

No branches or pull requests

2 participants