R
R
romanwb2013-12-20 15:23:20
Ruby on Rails
romanwb, 2013-12-20 15:23:20

Where to store compiled rails templates?

I installed redis_store as a cache store (general cache + sessions)
When I started the server in production, I looked at what was in the cache, there were only session hashes.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sdevalex, 2013-12-20
@romanwb

In memory, compiled on first access. It makes no sense to store them in the cache. I mean, the compiled template is a regular ruby ​​code, it needs to be interpreted once, and then this code is simply called as usual.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question