{"action":"opened","issue":{"url":"https://api.github.com/repos/statamic/v2-hub/issues/1873","repository_url":"https://api.github.com/repos/statamic/v2-hub","labels_url":"https://api.github.com/repos/statamic/v2-hub/issues/1873/labels{/name}","comments_url":"https://api.github.com/repos/statamic/v2-hub/issues/1873/comments","events_url":"https://api.github.com/repos/statamic/v2-hub/issues/1873/events","html_url":"https://github.com/statamic/v2-hub/issues/1873","id":311800764,"number":1873,"title":"Is Partial Page Caching Broken?","user":{"login":"warkior","id":1022386,"avatar_url":"https://avatars0.githubusercontent.com/u/1022386?v=4","gravatar_id":"","url":"https://api.github.com/users/warkior","html_url":"https://github.com/warkior","followers_url":"https://api.github.com/users/warkior/followers","following_url":"https://api.github.com/users/warkior/following{/other_user}","gists_url":"https://api.github.com/users/warkior/gists{/gist_id}","starred_url":"https://api.github.com/users/warkior/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warkior/subscriptions","organizations_url":"https://api.github.com/users/warkior/orgs","repos_url":"https://api.github.com/users/warkior/repos","events_url":"https://api.github.com/users/warkior/events{/privacy}","received_events_url":"https://api.github.com/users/warkior/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-05T23:17:26Z","updated_at":"2018-04-05T23:17:26Z","closed_at":null,"author_association":"NONE","body":"### Expected behaviour\r\nWhen I wrap areas of a template in `{{ cache }}` tags, I expect it to cache that specific area of the template for that specific page.\r\n\r\n### Actual behaviour\r\nOption 1: cache with no defined scope…\r\nThis causes all pages that use the same template to display the same content. So, whichever article was cached first, that’s the one that is displayed across all pages using the same template.\r\n\r\nOption 2: cache with page scope…\r\nThis causes the cache to repeat itself. So if you have multiple places on the template that you are trying to cache, it replicates the first one.\r\n\r\n### Steps to reproduce\r\n1.  Create a template\r\n2.  Set up multiple pages to use the same template\r\n3.  Wrap some dynamic or slow content in `{{ cache }}` tags.\r\n4. See the same content on both pages that use the template.\r\n5. Wrap more than one section of content in `{{ cache scope=\"page\" }}` tags.\r\n6. See that piece of content reproduced multiple times on the page.\r\n\r\n### Server Details\r\n\r\n**Statamic Version:** 2.8.10\r\n\r\n**Updated from an older Statamic or fresh install:** Updated\r\n\r\n"}}
{"actor":{"display_login":"warkior"}}