mooreniemi / Transbucket_Rails

:hospital: → :camera: → :thumbsup:
http://www.transbucket.com
10 stars 4 forks source link

cache keys should be unique #5

Closed corajr closed 8 years ago

corajr commented 8 years ago

Ensure that each cache call has a reasonably unique key, perhaps by adding a relevant prefix.

mooreniemi commented 8 years ago

i did a git grep cache and went through all the keys. should be alright now -- some don't need to be unique other than what active record will do automatically. the layout files cached should perhaps be moved to page caching out of fragment caching, but this should work on too atm.