I feel that there is no clear convention on caching JSON endpoints in Rails. JBuilder cache is not even mentioned on Rails Caching guide(https://guides.rubyonrails.org/caching_with_rails.html). JBuilder docs suggest a third party gem for caching collections. Quite a few guides that mention caching and rails ends up with advertising a new gem that the author wrote. Am I missing something? What is your caching strategy for JSON endpoints in Rails?
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)