Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Caching#76

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
jonsharratt wants to merge3 commits intomaster
base:master
Choose a base branch
Loading
fromcache
Open

Caching#76

jonsharratt wants to merge3 commits intomasterfromcache

Conversation

@jonsharratt
Copy link
Member

@jonsharrattjonsharratt commentedApr 24, 2017
edited
Loading

What did you implement:

New optionCODEBOX_CACHE that allowsnpm installs to now cache the dependencies so that you do not have to rely on the public registry.

How did you implement it:

  • Checks if cache option enabled
  • Stores anindex.json file within a separate S3 cache bucket
  • Scheduled lambda runs every hour to then cache all versions of each package.
  • It checks the revision against public registry if changed will refetch the packages and update the cache.

How can we verify it:

  • Enable cache
  • Deploy and attempt use and npm install packages
  • The cache will eventually populate and any further packages will then use the cache instead

Todos:

  • Write tests
  • Write documentation
  • Fix linting errors
  • Tagready for review orwip

Is this a breaking change?: NO

@jonsharrattjonsharratt changed the titleDependency CachingCachingApr 24, 2017
@WalterWeidner
Copy link

Any chance of this PR getting merged? We would love to get the added benefit of caching.

@WetHippie
Copy link

Add another +1 to the request for caching. Makes a big difference in CI build environments that are continuously building.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

4 participants

@jonsharratt@WalterWeidner@WetHippie

[8]ページ先頭

©2009-2025 Movatter.jp