small medium large xlarge

Image-3_pragsmall
06 Oct 2016, 14:41
Joe Crocetta (1 post)

Just read the part on caching, Iteration C5. Just to make sure I understand this very clearly I’d like some clarification.

Is it true that in production mode Rails automatically implements this caching behavior? Is it true that in production mode there is no need to use the ‘cache’ command in the view template? Are these cache commands only needed in development or are they a best practice that is new in Rails 5? (all essentially the same question from differing perspectives)

And are all these questions true for prior versions of Rails. Rails < 5? I don’t recall the cache command in any other Rails books I’ve read in the past.

Thanks for your feedback.

You must be logged in to comment