webkit2png icon indicating copy to clipboard operation
webkit2png copied to clipboard

Caching

Open tillsanders opened this issue 11 years ago • 6 comments

Hi, does webkit2png have an integrated cache? If so, there should be a flag to clear and ignore it. At the moment I am tricking it into ignoring its cache files with the user-agent flag, but this is not optimal of course. Would be very happy to see this addition :) Great tool, many thanks!

tillsanders avatar Oct 07 '14 14:10 tillsanders

Appending ?$RANDOM to the end of the website URL seems to fix the problem.

kemuri avatar Dec 03 '14 15:12 kemuri

Appending ?$RANDOM will not solve cached CSS :-/

eigan avatar Jan 28 '15 15:01 eigan

Same here, but messing with the user-agent will.

tillsanders avatar Jan 28 '15 15:01 tillsanders

https://github.com/yig/webkit2png/commit/10c8d1ab3da53a8a92aab842af12742cd89c50f9

Looks like this guy might have figured it out

eigan avatar Jan 28 '15 15:01 eigan

Did not work for me

eigan avatar Jan 28 '15 15:01 eigan

The short answer is I don't actually know. The longer answer will involve some investigation.

paulhammond avatar Mar 26 '20 00:03 paulhammond