Skip to content

Commit

Permalink
Readme Update
Browse files Browse the repository at this point in the history
  • Loading branch information
iRyusa committed Oct 26, 2011
1 parent 7d33841 commit cfb002a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jquery-ajax-jstorage-cache is a plugin build for jQuery (>1.5.1) and [jStorage](
$.ajax({
url: '/post',

cache: true,
cacheJStorage: true,
cacheKey: 'post',
isCacheValid: function(){
return true;
Expand All @@ -22,7 +22,7 @@ jquery-ajax-jstorage-cache is a plugin build for jQuery (>1.5.1) and [jStorage](
On your AJAX request you got 3 new parameters :

* cache
* Turn cache on/off
* Turn cacheJStorage on/off
* Default: false
* cacheKey
* CacheKey is the key that will be used to store the response in jStorage. It allow you to delete your cache easily with the jStorage.removeKey() function.
Expand Down

0 comments on commit cfb002a

Please sign in to comment.