{"action":"closed","issue":{"url":"https://api.github.com/repos/octobercms/docs/issues/349","repository_url":"https://api.github.com/repos/octobercms/docs","labels_url":"https://api.github.com/repos/octobercms/docs/issues/349/labels{/name}","comments_url":"https://api.github.com/repos/octobercms/docs/issues/349/comments","events_url":"https://api.github.com/repos/octobercms/docs/issues/349/events","html_url":"https://github.com/octobercms/docs/issues/349","id":395105899,"node_id":"MDU6SXNzdWUzOTUxMDU4OTk=","number":349,"title":"Here's some extra info to help Dev's speed up October CMS Loading","user":{"login":"ayumihamsaki","id":17784082,"node_id":"MDQ6VXNlcjE3Nzg0MDgy","avatar_url":"https://avatars2.githubusercontent.com/u/17784082?v=4","gravatar_id":"","url":"https://api.github.com/users/ayumihamsaki","html_url":"https://github.com/ayumihamsaki","followers_url":"https://api.github.com/users/ayumihamsaki/followers","following_url":"https://api.github.com/users/ayumihamsaki/following{/other_user}","gists_url":"https://api.github.com/users/ayumihamsaki/gists{/gist_id}","starred_url":"https://api.github.com/users/ayumihamsaki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ayumihamsaki/subscriptions","organizations_url":"https://api.github.com/users/ayumihamsaki/orgs","repos_url":"https://api.github.com/users/ayumihamsaki/repos","events_url":"https://api.github.com/users/ayumihamsaki/events{/privacy}","received_events_url":"https://api.github.com/users/ayumihamsaki/received_events","type":"User","site_admin":false},"labels":[{"id":941350891,"node_id":"MDU6TGFiZWw5NDEzNTA4OTE=","url":"https://api.github.com/repos/octobercms/docs/labels/Status:%20Response%20Needed","name":"Status: Response Needed","color":"b60205","default":false},{"id":409067071,"node_id":"MDU6TGFiZWw0MDkwNjcwNzE=","url":"https://api.github.com/repos/octobercms/docs/labels/Type:%20Maintenance","name":"Type: Maintenance","color":"FBCA04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2019-01-01T19:18:37Z","updated_at":"2019-01-03T14:01:26Z","closed_at":"2019-01-03T14:01:25Z","author_association":"CONTRIBUTOR","body":"October CMS tells developers to add the following code at the bottom of the web pages - to allow the October AJAX and some other things to work, see here:\r\n\r\n```html\r\n{% framework extras %}\r\n{% scripts %}  \r\n```\r\n\r\n## Making October CMS Load Faster\r\n\r\nYou can preload these files to speed up the loading of October CMS by adding the following two lines of code in your `<head>` section, e.g.\r\n\r\n```html\r\n<link rel=\"preload\" href=\"https://example.com/modules/system/assets/css/framework.extras-min.css\" as=\"style\">\r\n\r\n<link rel=\"preload\" href=\"https://example.com/modules/system/assets/js/framework.combined-min.js\" as=\"script\">\r\n```\r\n\r\nI would like to write a pr to add this extra information in the doc's. I think it should be added to this doc's web page found here: https://octobercms.com/docs/ajax/introduction#framework-script"}}
{"actor":{"display_login":"ayumihamsaki"}}