express-jsdom
express-jsdom copied to clipboard
Html files are fecthed for every request.
In express-jsdom the caching code seems to be commented out (in function insertDocument). Using that simple caching almost halves the response time for subsequent request for the same file.
I tried playing around and used jshashtable (modified to run in node.js) for caching and it decreased the response time by some 100ms more.