Skip to content
This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Instruct clients not to cache /protocol-version response#47

Merged
jasonrudolph merged 1 commit intomasterfrom
no-cache-for-protocol-version
Mar 15, 2018
Merged

Instruct clients not to cache /protocol-version response#47
jasonrudolph merged 1 commit intomasterfrom
no-cache-for-protocol-version

Conversation

@jasonrudolph
Copy link
Contributor

Motivation: atom/teletype#318 (comment)

With the changes in this pull request, Teletype won't cache the response that it gets from https://api.teletype.atom.io/protocol-version. Instead, Teletype will make a new request each time it needs to fetch the protocol version (i.e., each time the package is initialized).

Let's roll this out and see if it helps to address the occasional package initialization errors experienced by some users.


Supersedes #45

Refs #45 (review)

Copy link
Contributor

@as-cii as-cii left a comment

Choose a reason for hiding this comment

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

Looks great @jasonrudolph. Thanks for looking into this!

@jasonrudolph jasonrudolph merged commit 367116f into master Mar 15, 2018
@jasonrudolph jasonrudolph deleted the no-cache-for-protocol-version branch March 15, 2018 10:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants