jQuery adds two parameters to requests: "_" and "callback". This pull request adds a new strategy, Garner::Strategies::Keys::Jsonp, to strip these two parameters so that client applications can use Garner::Strategies::Keys::RequestGet to cache by query string parameters, and still have sane caching behavior with Rack::JSONP / jQuery.
jQuery adds two parameters to requests: "_" and "callback". This pull request adds a new strategy,
Garner::Strategies::Keys::Jsonp
, to strip these two parameters so that client applications can useGarner::Strategies::Keys::RequestGet
to cache by query string parameters, and still have sane caching behavior with Rack::JSONP / jQuery.