Documentation on clear_rv parameter

webpagetest/runtest.php at master · WPO-Foundation/webpagetest · GitHub clearly shows we have a parameter called clear_rv which seems to be useful to simulate a e-commerce visitor to a page after a week from the first visit to the site

Is that right? Any pointers to a doc?

You can specify an amount of time in seconds and it will delete any cache entries that expire before that. It’s functionally equivalent to the expireCache script command: https://sites.google.com/a/webpagetest.org/docs/using-webpagetest/scripting#TOC-expireCache

That said, it still has some significant issues because it deletes the entries forcing a fresh download, not an if-modified-since check (and it’s only implemented for IE right now).

A better solution would be to munge the expires headers as they come in and subtract the time from every resource but it hasn’t been a high enough priority to bother with.

Do you know any workaround do simulate a visit after a given amount of time?
A solution is to use a script command like “sleep XX”, but it does not scale with large values.