{"action":"created","issue":{"url":"https://api.github.com/repos/rubysherpas/forem/issues/696","repository_url":"https://api.github.com/repos/rubysherpas/forem","labels_url":"https://api.github.com/repos/rubysherpas/forem/issues/696/labels{/name}","comments_url":"https://api.github.com/repos/rubysherpas/forem/issues/696/comments","events_url":"https://api.github.com/repos/rubysherpas/forem/issues/696/events","html_url":"https://github.com/rubysherpas/forem/issues/696","id":148231964,"number":696,"title":"Topic show action touches topic (updates updated_at)","user":{"login":"benjaminwood","id":1232531,"avatar_url":"https://avatars.githubusercontent.com/u/1232531?v=3","gravatar_id":"","url":"https://api.github.com/users/benjaminwood","html_url":"https://github.com/benjaminwood","followers_url":"https://api.github.com/users/benjaminwood/followers","following_url":"https://api.github.com/users/benjaminwood/following{/other_user}","gists_url":"https://api.github.com/users/benjaminwood/gists{/gist_id}","starred_url":"https://api.github.com/users/benjaminwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benjaminwood/subscriptions","organizations_url":"https://api.github.com/users/benjaminwood/orgs","repos_url":"https://api.github.com/users/benjaminwood/repos","events_url":"https://api.github.com/users/benjaminwood/events{/privacy}","received_events_url":"https://api.github.com/users/benjaminwood/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-04-14T02:18:46Z","updated_at":"2016-04-14T05:41:33Z","closed_at":null,"body":"[This line](https://github.com/rubysherpas/forem/blob/master/app/models/forem/concerns/viewable.rb#L21) touches the topic (changes it's `updated_at`) when the topics/show action is hit. If you are like me and you're implementing fragment caching in your views and you are using the `updated_at` column to determine your cache_key, the cache will be invalidated on every request. I don't see any reason that it should touch the record.\r\n\r\nI know the gem isn't really maintained at the moment, but I can create a PR to change this behavior if somebody with merge power can confirm the current behavior is not desired.\r\n\r\nThanks!! :smile: "},"comment":{"url":"https://api.github.com/repos/rubysherpas/forem/issues/comments/209772468","html_url":"https://github.com/rubysherpas/forem/issues/696#issuecomment-209772468","issue_url":"https://api.github.com/repos/rubysherpas/forem/issues/696","id":209772468,"user":{"login":"hakkiplaten","id":1835436,"avatar_url":"https://avatars.githubusercontent.com/u/1835436?v=3","gravatar_id":"","url":"https://api.github.com/users/hakkiplaten","html_url":"https://github.com/hakkiplaten","followers_url":"https://api.github.com/users/hakkiplaten/followers","following_url":"https://api.github.com/users/hakkiplaten/following{/other_user}","gists_url":"https://api.github.com/users/hakkiplaten/gists{/gist_id}","starred_url":"https://api.github.com/users/hakkiplaten/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hakkiplaten/subscriptions","organizations_url":"https://api.github.com/users/hakkiplaten/orgs","repos_url":"https://api.github.com/users/hakkiplaten/repos","events_url":"https://api.github.com/users/hakkiplaten/events{/privacy}","received_events_url":"https://api.github.com/users/hakkiplaten/received_events","type":"User","site_admin":false},"created_at":"2016-04-14T05:41:33Z","updated_at":"2016-04-14T05:41:33Z","body":"> I know the gem isn't really maintained at the moment\r\n\r\nA lot of important sites use this gem. I think the main reason it isn't maintained as frequently as before is because there's just not much more left to do."}}