{"action":"created","issue":{"url":"https://api.github.com/repos/goldsky/YAMS/issues/4","repository_url":"https://api.github.com/repos/goldsky/YAMS","labels_url":"https://api.github.com/repos/goldsky/YAMS/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/goldsky/YAMS/issues/4/comments","events_url":"https://api.github.com/repos/goldsky/YAMS/issues/4/events","html_url":"https://github.com/goldsky/YAMS/pull/4","id":35487476,"number":4,"title":"Bugfix for unpublished page + Too many forward attempts","user":{"login":"Jako","id":148371,"avatar_url":"https://avatars.githubusercontent.com/u/148371?v=3","gravatar_id":"","url":"https://api.github.com/users/Jako","html_url":"https://github.com/Jako","followers_url":"https://api.github.com/users/Jako/followers","following_url":"https://api.github.com/users/Jako/following{/other_user}","gists_url":"https://api.github.com/users/Jako/gists{/gist_id}","starred_url":"https://api.github.com/users/Jako/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jako/subscriptions","organizations_url":"https://api.github.com/users/Jako/orgs","repos_url":"https://api.github.com/users/Jako/repos","events_url":"https://api.github.com/users/Jako/events{/privacy}","received_events_url":"https://api.github.com/users/Jako/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-06-11T14:15:14Z","updated_at":"2016-03-02T11:07:39Z","closed_at":"2016-03-02T02:44:20Z","pull_request":{"url":"https://api.github.com/repos/goldsky/YAMS/pulls/4","html_url":"https://github.com/goldsky/YAMS/pull/4","diff_url":"https://github.com/goldsky/YAMS/pull/4.diff","patch_url":"https://github.com/goldsky/YAMS/pull/4.patch"},"body":"http://forums.modx.com/thread/45611/try-to-load-unpublished-page-too-many-forward-attempts"},"comment":{"url":"https://api.github.com/repos/goldsky/YAMS/issues/comments/191189985","html_url":"https://github.com/goldsky/YAMS/pull/4#issuecomment-191189985","issue_url":"https://api.github.com/repos/goldsky/YAMS/issues/4","id":191189985,"user":{"login":"Jako","id":148371,"avatar_url":"https://avatars.githubusercontent.com/u/148371?v=3","gravatar_id":"","url":"https://api.github.com/users/Jako","html_url":"https://github.com/Jako","followers_url":"https://api.github.com/users/Jako/followers","following_url":"https://api.github.com/users/Jako/following{/other_user}","gists_url":"https://api.github.com/users/Jako/gists{/gist_id}","starred_url":"https://api.github.com/users/Jako/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jako/subscriptions","organizations_url":"https://api.github.com/users/Jako/orgs","repos_url":"https://api.github.com/users/Jako/repos","events_url":"https://api.github.com/users/Jako/events{/privacy}","received_events_url":"https://api.github.com/users/Jako/received_events","type":"User","site_admin":false},"created_at":"2016-03-02T11:07:39Z","updated_at":"2016-03-02T11:07:39Z","body":"The YAMS approach is somehow wrong: Having all languages parsed, rendered and cached together and throw away all but the current language when the page is shown. A client had a lot of issues with blank pages in one or two languages with that (caused by PHx if/else clauses and the YAMS parsing/rendering/caching approach).\r\n\r\nI never develop sites in Revo switching off the cache. Cache as much as you can is my Revo approach from start. Mark Hamstra wrote a good article on that: https://www.markhamstra.com/modx/2011/10/caching-guidelines-for-modx-revolution/"}}