Explain rails caching levels.



Explain rails caching levels...

Answer / Ankush Soni

"Rails has multiple caching layers, including fragment caching, page caching, and action caching. Fragment caching stores specific parts of a view, while page caching stores the entire rendered page. Action caching stores the entire controller action response. You can enable these cache levels in your controllers by using the corresponding cache methods like 'cache_page', 'cache_action', and 'cache' to store fragments."

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby on Rails Interview Questions

Explain about restful architecture?

1 Answers  


what are the differences between rails 2.x and rails 3?

1 Answers  


Explain coc in rails?

1 Answers  


What role does garbage collection play?

1 Answers  


Explain me what is the purpose of rjs in rails?

1 Answers  


What is a webrick web server?

1 Answers  


Where does the start_tabnav gets informations for tabs rendering in ruby rail?

1 Answers  


Mention all the naming conventions in ruby on rails.

1 Answers  


If you want to set up a one-to-one relationship between two models, you'll need to add belongs_to to one, and has_one to the other. How do you know which is which?

1 Answers  


Difference between gem and plugin?

1 Answers  


What is object-relationship-model (orm)?

1 Answers  


what is a rails migration? Write up a short example of a simple rails migration with a table called customers, a string column called name, and a text column called description?

1 Answers  


Categories