Skip to content
This repository has been archived by the owner on Mar 20, 2021. It is now read-only.

An attempt to clean up ajax code related to cache #47

Merged
merged 3 commits into from
Sep 25, 2014
Merged

Conversation

candid82
Copy link
Contributor

No description provided.

return next(err);
}

var ttl = (!response.cachingInfo['no-cache'] && !response.cachingInfo.private)
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: This feels large enough to warrant multiple lines

var ttl = 0;
if (...) {
  ttl = ...
}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

? is better :). Changed to what you prefer.

@kpdecker
Copy link
Contributor

Generally looks good.

kpdecker added a commit that referenced this pull request Sep 25, 2014
An attempt to clean up ajax code related to cache
@kpdecker kpdecker merged commit 674e6e3 into master Sep 25, 2014
@candid82 candid82 deleted the ajax-cleanup branch September 30, 2014 18:47
@kpdecker
Copy link
Contributor

Released in 0.14.1

@kpdecker kpdecker modified the milestone: 1.0.0 Feb 13, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants