Commit 808457c
committed
Fix caching bug on topic index
We included the user-specific async data retrieval in the cached block,
but only if we had a signed in user.
This worked perfectly if the page first was cached by a signed in user,
but failed if it was first cached by a guest, as after that signed in
users didn't get their additional information rendered.
This commit fixes the problem by moving the user specific part outside
of the cached part.1 parent 9822638 commit 808457c
1 file changed
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | 10 | | |
15 | 11 | | |
16 | 12 | | |
| |||
34 | 30 | | |
35 | 31 | | |
36 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
0 commit comments