# Double request to topic json when navigating to a topic

**URL:** https://meta.discourse.org/t/double-request-to-topic-json-when-navigating-to-a-topic/28748
**Category:** Bug
**Created:** [5월 13, 2015, 7:13오전 UTC](https://meta.discourse.org/t/double-request-to-topic-json-when-navigating-to-a-topic/28748 "2015-05-13T07:13:29Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [5월 13, 2015, 7:13오전 UTC](https://meta.discourse.org/t/double-request-to-topic-json-when-navigating-to-a-topic/28748/1 "2015-05-13T07:13:29Z")

</div>

I am noticing double request for topic json being initiated from “topic” and “fromParams”.

The repro is quite simple:

1. Navigate to a topic from topic list
2. Click back
3. Click on topic again and you get 2 json requests to topic just to load it.

 ![](https://global.discourse-cdn.com/meta/original/3X/a/a/aaecc70f642c8a98c2a0d30ba172e6ed0b36e394.png) 

![](https://global.discourse-cdn.com/meta/original/3X/2/1/2199eee802590f60ed96127f0dc15ec124a32d12.png)

@eviltrout can you have a look at this

---

<div class="post-metadata">

### Author: ![eviltrout](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/eviltrout/32/5275_2.png) [@eviltrout](https://meta.discourse.org/u/eviltrout)
#### Post date: [5월 13, 2015, 8:54오후 UTC](https://meta.discourse.org/t/double-request-to-topic-json-when-navigating-to-a-topic/28748/2 "2015-05-13T20:54:59Z")

</div>

Thanks, looks like at some point I changed the way the subroute triggered a refresh and it made the explicit refresh unnecessary:

[https://github.com/discourse/discourse/commit/8fa109638be643e2cbd5879c2f3d1e50998a6568](https://github.com/discourse/discourse/commit/8fa109638be643e2cbd5879c2f3d1e50998a6568)

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [5월 13, 2015, 9:44오후 UTC](https://meta.discourse.org/t/double-request-to-topic-json-when-navigating-to-a-topic/28748/3 "2015-05-13T21:44:51Z")

</div>


