Web Page Replay now supports editing recorded web pages. Credit for the idea goes to Sergey Chernyshev. To use it: record a web page then use httparchive's edit command.
$ ./httparchive.py edit --host=example.com --path=/ ~/archive.wpr
Since all other aspects of the page are controlled, this allows you to measure the effect of tweaking just a single aspect of the page without having to worry about conflating factors like rotating ads, server response time or variable network conditions.
I'm finding this invaluable for answering quick questions like how much faster a page loads if this script were deferred or if the order of this script and stylesheet were switched.
Great news! Will try to use it at next Meet for SPEED event!
And thanks for the idea creds ;)
Slamm also just introduced another neat feature. The HTTP chunk boundaries will show up as special tokens when you edit the response. You can add/move/delete the tokens to see how things would change with different chunking.
Post a Comment