added caching to tweets index page and clear cache when add new tweet