Make require cache modules like native does
Merge pull request #19 from gzzhanghao/patch-1

Make require cache modules like native does