change render to .each
cache entire post index page
another attempt to fix caching
fix caching error