Skip to content

Caching fix + a few minor fixes and development additions#48

Open
DKhalil wants to merge 8 commits into
jpillora:gh-pagesfrom
DKhalil:gh-pages
Open

Caching fix + a few minor fixes and development additions#48
DKhalil wants to merge 8 commits into
jpillora:gh-pagesfrom
DKhalil:gh-pages

Conversation

@DKhalil
Copy link
Copy Markdown

@DKhalil DKhalil commented Jan 15, 2016

The main fix in this patch is for caching:

The cached object is copied on put, so the result isn't modified in the cache. A simply copy would only return the referrer to the original object. On get, the returned value is a new deferred object so there is no difference between a cached or non-cached returned result.

I also added a Gruntfile for development.

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.

1 participant