I have Padrino caching working in my app, e.g.
get :blog, cache: true do
# do a blog listing
end
But when the listings are paginated with will-paginate
, it can't tell the difference between /blog
and /blog?page=2
, and always renders the cached copy of /blog
. Is there any way to get this to work so that it caches per URL not per route?