-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1.1.1.1] Add NSLookup caching to dns-in-google-sheets.mdx (#17298)
* Update dns-in-google-sheets.mdx to include cache support in the NSLookup function. Adding internal caching of the results on the NSLookup function to limit the number of the DNS resolver requests and speed up the results - especially in larger Google Sheets. * Process suggested changes for Answer TTL and usecache disabled by default * Change how minCacheTTL is set - Change minCacheTTL from Math.min to Math.max - Change default value of cachettl from 1800 to 30. * Minor code style - change tab to spaces. * Apply patch + rename usecache to useCache Applying changes from #17298 (comment) + rename usecache to useCache to make all variables/constants follow lowerCamelCase. * Remove outdated cache value from descriptive paragraph * Replace one remaining var by const --------- Co-authored-by: Rebecca Tamachiro <rtamachiro@cloudflare.com>
- Loading branch information
1 parent
4e8aea3
commit c954f6a
Showing
1 changed file
with
42 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters