express-jsdom icon indicating copy to clipboard operation
express-jsdom copied to clipboard

Html files are fecthed for every request.

Open applegrew opened this issue 14 years ago • 0 comments

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.

applegrew avatar Apr 10 '11 17:04 applegrew