Tools to Capture and Convert the Web
GrabzIt's Online Community

Users click the Screenshot button again in a short time.

Hi, Dear.
We are testing with api.
It's going very well.
I have a question.
Users click the Screenshot button again in a short time.
What are the quick ways to get it from the cash?
I think this is how your homepage works.

-------------------------------------------

Country: Korea
php, URLToImage

First: 15 seconds,  After: 8 seconds...
setCountry('SG')

Thank you.

Asked by anonymous on the 25th of November 2020

The server-side API's such as PHP are designed to create new captures. The JavaScript API will use a cache as its designed to work within many browser instances.

When a user creates a screenshot you could get the ID of the screenshot from the Save method along with the URL they are requesting and then if a user requests a screenshot within that time frame give them the one you have saved to your file system instead of creating s new one.

Answered by GrabzIt Support on the 25th of November 2020