{"action":"reopened","issue":{"url":"https://api.github.com/repos/6to5/6to5/issues/300","labels_url":"https://api.github.com/repos/6to5/6to5/issues/300/labels{/name}","comments_url":"https://api.github.com/repos/6to5/6to5/issues/300/comments","events_url":"https://api.github.com/repos/6to5/6to5/issues/300/events","html_url":"https://github.com/6to5/6to5/issues/300","id":51983301,"number":300,"title":"6to5/register caching?","user":{"login":"drewhamlett","id":1056587,"avatar_url":"https://avatars.githubusercontent.com/u/1056587?v=3","gravatar_id":"","url":"https://api.github.com/users/drewhamlett","html_url":"https://github.com/drewhamlett","followers_url":"https://api.github.com/users/drewhamlett/followers","following_url":"https://api.github.com/users/drewhamlett/following{/other_user}","gists_url":"https://api.github.com/users/drewhamlett/gists{/gist_id}","starred_url":"https://api.github.com/users/drewhamlett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drewhamlett/subscriptions","organizations_url":"https://api.github.com/users/drewhamlett/orgs","repos_url":"https://api.github.com/users/drewhamlett/repos","events_url":"https://api.github.com/users/drewhamlett/events{/privacy}","received_events_url":"https://api.github.com/users/drewhamlett/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/6to5/6to5/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-12-15T13:01:13Z","updated_at":"2015-02-04T19:55:38Z","closed_at":null,"body":"Is there some sort of caching that could be done on larger projects?  I'm using this 6to5 with Koa on Node 0.10.  I know I could use 0.11 but I was just seeing if this would work out a little better.  Right now the compile times are pretty low by using this.\r\n\r\n```js\r\nrequire('6to5/polyfill');\r\nrequire('6to5/register')({\r\n    ignore: false,\r\n    whitelist: ['generators'],\r\n    only: [\r\n        /koa/,\r\n        /koa-logger/,\r\n        /koa-static/,\r\n        /koa-compress/,\r\n        /koa-ejs/,\r\n        /koa-session/,\r\n        /koa-csrf/,\r\n        /koa-mount/,\r\n        /koa-router/,\r\n        /server/\r\n    ]\r\n});\r\n\r\nvar koa = require('koa');\r\n```\r\n\r\nBut still restarting the server takes a decent amount of time(around 5 seconds).  I was wondering if there was  way to cache all the Koa modules that are not changing every time the server restarts?"}}