Current time: 09-25-2018, 07:10 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Documentation on clear_rv parameter
06-19-2014, 03:03 AM
Post: #1
Documentation on clear_rv parameter
https://github.com/WPO-Foundation/webpag...t.php#L129 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?
Find all posts by this user
Quote this message in a reply
06-19-2014, 03:32 AM
Post: #2
RE: Documentation on clear_rv parameter
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.o...xpireCache

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.
Visit this user's website Find all posts by this user
Quote this message in a reply
04-07-2018, 12:50 AM
Post: #3
RE: Documentation on clear_rv parameter
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.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)