Skip to content

Commit

Permalink
Release 0.10.4
Browse files Browse the repository at this point in the history
  • Loading branch information
stephanebachelier committed May 17, 2016
1 parent 1d41e98 commit b7a18ca
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 7 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
<a name="0.10.3"></a>
## [0.10.3](https://github.com/stephanebachelier/superapi-cache/compare/0.10.3...v0.10.3) (2016-05-17)


### Bug Fixes

* **cache:** do not process HEAD requests ([1d41e98](https://github.com/stephanebachelier/superapi-cache/commit/1d41e98))



<a name="0.10.2"></a>
## [0.10.2](https://github.com/stephanebachelier/superapi-cache/compare/0.10.2...v0.10.2) (2016-05-13)

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "superapi-cache",
"version": "0.10.3",
"version": "0.10.4",
"homepage": "https://github.com/stephanebachelier/superapi-cache",
"authors": [
"Stéphane Bachelier <stephane.bachelier@gmail.com>"
Expand Down
6 changes: 5 additions & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,11 @@ function cache() {
// We should exclude HEAD
var method = req.method.toLowerCase();

if (method !== 'get' && method !== 'head') {
if (method === 'head') {
return null;
}

if (method !== 'get') {
config.store.removeItem(uuid);
return null;
}
Expand Down
6 changes: 5 additions & 1 deletion dist/umd/superapi-cache.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/umd/superapi-cache.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/umd/superapi-cache.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/umd/superapi-cache.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "superapi-cache",
"version": "0.10.3",
"version": "0.10.4",
"description": "Caching module for superapi",
"homepage": "https://github.com/stephanebachelier/superapi-cache",
"author": {
Expand Down

0 comments on commit b7a18ca

Please sign in to comment.