{"action":"created","issue":{"url":"https://api.github.com/repos/twigjs/twig.js/issues/549","repository_url":"https://api.github.com/repos/twigjs/twig.js","labels_url":"https://api.github.com/repos/twigjs/twig.js/issues/549/labels{/name}","comments_url":"https://api.github.com/repos/twigjs/twig.js/issues/549/comments","events_url":"https://api.github.com/repos/twigjs/twig.js/issues/549/events","html_url":"https://github.com/twigjs/twig.js/issues/549","id":319130766,"node_id":"MDU6SXNzdWUzMTkxMzA3NjY=","number":549,"title":"Inline HTML templates","user":{"login":"isvaljek","id":2500267,"node_id":"MDQ6VXNlcjI1MDAyNjc=","avatar_url":"https://avatars2.githubusercontent.com/u/2500267?v=4","gravatar_id":"","url":"https://api.github.com/users/isvaljek","html_url":"https://github.com/isvaljek","followers_url":"https://api.github.com/users/isvaljek/followers","following_url":"https://api.github.com/users/isvaljek/following{/other_user}","gists_url":"https://api.github.com/users/isvaljek/gists{/gist_id}","starred_url":"https://api.github.com/users/isvaljek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isvaljek/subscriptions","organizations_url":"https://api.github.com/users/isvaljek/orgs","repos_url":"https://api.github.com/users/isvaljek/repos","events_url":"https://api.github.com/users/isvaljek/events{/privacy}","received_events_url":"https://api.github.com/users/isvaljek/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-05-01T06:49:44Z","updated_at":"2018-06-26T20:20:36Z","closed_at":"2018-06-22T07:48:54Z","author_association":"CONTRIBUTOR","body":"Is it possible to create/load <script id=\"mytemplate\" type=\"text/template\"> for twig templates?\r\nI'd like to minimize ajax calls, I have way too much chatter."},"comment":{"url":"https://api.github.com/repos/twigjs/twig.js/issues/comments/400448374","html_url":"https://github.com/twigjs/twig.js/issues/549#issuecomment-400448374","issue_url":"https://api.github.com/repos/twigjs/twig.js/issues/549","id":400448374,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMDQ0ODM3NA==","user":{"login":"Neptuli","id":38772492,"node_id":"MDQ6VXNlcjM4NzcyNDky","avatar_url":"https://avatars3.githubusercontent.com/u/38772492?v=4","gravatar_id":"","url":"https://api.github.com/users/Neptuli","html_url":"https://github.com/Neptuli","followers_url":"https://api.github.com/users/Neptuli/followers","following_url":"https://api.github.com/users/Neptuli/following{/other_user}","gists_url":"https://api.github.com/users/Neptuli/gists{/gist_id}","starred_url":"https://api.github.com/users/Neptuli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Neptuli/subscriptions","organizations_url":"https://api.github.com/users/Neptuli/orgs","repos_url":"https://api.github.com/users/Neptuli/repos","events_url":"https://api.github.com/users/Neptuli/events{/privacy}","received_events_url":"https://api.github.com/users/Neptuli/received_events","type":"User","site_admin":false},"created_at":"2018-06-26T20:20:36Z","updated_at":"2018-06-26T20:20:36Z","author_association":"NONE","body":"Hi isvaljek!\r\n\r\nThe only different between a server side solution and a client side solution, is that you get by the client side solution json responses from the server  (less download time)!\r\n\r\nI don't think that there is a setting (in twig), where you can say -> cache first! The only way is do make your own cache functions, with javascript / jquery -> but care of the size! \r\n\r\nIf you want a offline database on the client side, you need do make a web application with service-worker and a manifest.json -> https://developers.google.com/web/ilt/pwa/\r\n\r\nDo you have a link. for the website -> so i can look how many xhr request you make (maybe I can help you better)?\r\n\r\nbest regards\r\n"}}
{"actor":{"display_login":"Neptuli"}}