From 002b1cc5e22d0c97d5202cef661cc105ffc10f6c Mon Sep 17 00:00:00 2001 From: Constantinos Giachalis Date: Tue, 18 Nov 2025 16:03:46 +0200 Subject: [PATCH] req_perform -> req_cache Closes #813 --- R/req-cache.R | 2 +- man/req_cache.Rd | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/R/req-cache.R b/R/req-cache.R index 77bd9e401..a1217ba16 100644 --- a/R/req-cache.R +++ b/R/req-cache.R @@ -1,7 +1,7 @@ #' Automatically cache requests #' #' @description -#' Use `req_perform()` to automatically cache HTTP requests. Most API requests +#' Use `req_cache()` to automatically cache HTTP requests. Most API requests #' are not cacheable, but static files often are. #' #' `req_cache()` caches responses to GET requests that have status code 200 and diff --git a/man/req_cache.Rd b/man/req_cache.Rd index d7197e77c..1dce406fb 100644 --- a/man/req_cache.Rd +++ b/man/req_cache.Rd @@ -51,7 +51,7 @@ The cache pruning is performed at most once per minute.} A modified HTTP \link{request}. } \description{ -Use \code{req_perform()} to automatically cache HTTP requests. Most API requests +Use \code{req_cache()} to automatically cache HTTP requests. Most API requests are not cacheable, but static files often are. \code{req_cache()} caches responses to GET requests that have status code 200 and