mhgbrown / cached_resource

Caching for ActiveResource
MIT License
80 stars 28 forks source link

Avoid cache nil or empty array responses #62

Closed italijancic-th closed 5 months ago

italijancic-th commented 5 months ago

As the title said, I think we shouldn't cache nil or [] responses.

I can create a PR for this if you agree.

mhgbrown commented 5 months ago

I think that's great. Looks like you're already in progress. Let us know when the PR is ready for review.

italijancic-th commented 5 months ago

Perfect, the PR is ready for review. I will wait for your feedback on it 😉 !