Skip to content

Invalidate cache when master branche change#11

Merged
muglug merged 1 commit intopsalm:masterfrom
jderusse:cache-invalidation
Apr 20, 2020
Merged

Invalidate cache when master branche change#11
muglug merged 1 commit intopsalm:masterfrom
jderusse:cache-invalidation

Conversation

@jderusse
Copy link
Copy Markdown
Contributor

fixes #10 By using "ADD url" trick to invalidate cache.

The URL is called on every build, but cache is used only when the reponses returned by the URL is identical to the previous build.

Didn't used api endpoint dues to rate limite
Didn't used http web page, because contains random chars that change on each request (and prevent use of cache when nothing change)

Copy link
Copy Markdown
Contributor

@Nyholm Nyholm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great. Thank you

@muglug muglug merged commit d3ff82d into psalm:master Apr 20, 2020
@muglug
Copy link
Copy Markdown
Member

muglug commented Apr 20, 2020

Thanks!

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.

Daily PR don't use latest psalm version

3 participants