Does it make sense to fragment cache static partials
Posted
by ash34
on Stack Overflow
See other posts from Stack Overflow
or by ash34
Published on 2010-05-12T04:12:41Z
Indexed on
2010/05/12
5:14 UTC
Read the original article
Hit count: 279
ruby-on-rails
Hi,
I have my views and layouts split into multiple partials, some of them are static partials i.e, no data from the database being displayed here. Does it make sense to cache these to prevent the erb templating system from generating the html each time or it only makes sense to cache in situations where something needs to be retrieved from the db each time.
thanks, ash
© Stack Overflow or respective owner