letsvalidate / api

API that uncovers the technologies used on websites and generates thumbnail from screenshot of website
https://pro.letsvalidate.com
195 stars 11 forks source link

Please disable website cache #11

Closed klopp1991 closed 6 years ago

klopp1991 commented 6 years ago

I scan a weather site time by time. It looks like the websites are cached. Is it possible to disable the cache?

hbakhtiyor commented 6 years ago

the hard coded ttl is a week, until expiration it not take any new screenshot, if not passed with refresh param,

klopp1991 commented 6 years ago

How must I use the "refresh" parameter?

hbakhtiyor commented 6 years ago

it takes boolean values, e.g. https://api.letsvalidate.com/v1/thumbs?url=html5test.com&size=og&refresh=1

klopp1991 commented 6 years ago

Many thanks for this api and your great, fast support and solution. THANK YOU!