Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

What does the second parameter of GetAsync do? (HttpService)

Insufficient documentation can be found on the wiki.

1 answer

✓ Accepted answer

GetAsync has an option to cache its result locally using the second parameter.

string GetAsync (
    string url,
    bool nocache = false
)

When nocache is set to false, the result of GetAsync is stored. Every subsequent GetAsync request will pull from this result. The cache is refreshed when you set nocache to true. This is more of a matter of whether you truly need to look up every time because you think the page will change or whether knowing it once will suffice.

This discussion is preserved as it was. New answers, comments, and votes are closed.