Alejandro Mataloni
Results
5
comments of
Alejandro Mataloni
Hi!! Did anyone find a solution for this? I am having the same issue...
Hello @davidcelis! Thanks for the reply... I have created a toy project to test this (https://github.com/alemata/pagination_and_cache) I know [this](https://github.com/alemata/pagination_and_cache/blob/master/app/api/marketplace/v1/properties.rb#L10) is not the ideal code to test but it's an idea...
@davidcelis were you able to review this?! was the project helpfull?
Ok I think I make it work... ``` # call paginate outside cache to add headers paginated = paginate Property.all paginated_collection = Rails.cache.fetch(Property.cache_key(properties)) do # Store just the collection in...
hi! Any update on this?