| Page 1 of 1 | [ 4 posts ] |
|
How to modify the "cache module" so that we can insert custom functions to operate on cache data?
|
|
Can you provide more details on what you need? When would the custom functions be invoked?
|
|
Im using DataSource.IO to "GET" JSON files. Instead of caching the 'data' I want to cache the 'url' of the JSON file.
How would I do this using the existing DataSourceCache Plugin? EDIT: link to the js file : http://yui.yahooapis.com/3.5.1/build/da ... e-cache.js |
|
DataSourceCache explicitly caches the responses. It uses the request as the key.
Saving the urls doesn't really sound like caching. It sounds more like history. If you really want something like DataSourceCache that stores only the urls, then I think you'll have to fork datasource-cache.js |
| Page 1 of 1 | [ 4 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group