Skip to content

httpcache

1.2.0Package record

Query Cache for HTTP Clients

4packages dependsuggested by 1
15Kdownloads / year
–test coverage
8/13flavors OK

Overview

About

In order to improve performance for HTTP API clients, 'httpcache' provides simple tools for caching and invalidating cache. It includes the HTTP verb functions GET, PUT, PATCH, POST, and DELETE, which are drop-in replacements for those in the 'httr' package. These functions are cache-aware and provide default settings for cache invalidation suitable for RESTful APIs; the package also enables custom cache-management strategies. Finally, 'httpcache' includes a basic logging framework to facilitate the measurement of HTTP request time and cache performance.

Install

Health

CRAN checks
5NOTE8OK
Check messages
NOTER code for possible problemsr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64
Found calls to structure() using deprecated special names:
  httpcache/tests/testthat/test-logging.R (.Names: 1)
'.Names' should be changed to 'names'.

CRAN check page ↗

Slowest check: 1.1 min · r-devel-windows-x86_64
Status changes
  • NOTE8 OK, 5 NOTENow
  • NOTE11 OK, 2 NOTE2026-07-16
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2.0
README· In the repository, left out of the releaseVignettesYes · 1 · dynamicNEWS· In the repository, left out of the releaseCitation fileNoWebsiteYes
Help pages
14
Examples that run
100%1 run in a plain check
Exported functions with examples
7%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

15K
CRAN downloads in the past year
Rank #3,476 · ~41/day · ~1.2K/mo
Daily download trend is not available in this view yet.
1K30 days
3.1K90 days
15K1 year
Compare downloads with other packages →
Also on175 r2u3 autocran1.5K conda_forge114 c2d4u

Repository

12Stars
3Forks
3Open issues
2Open PRs
0Releases
75Commits
1Commit identities
http-clientcachingloggingrstats
75 commits · Last activity 2023-04-10
Responsiveness
not measured

Stars over time

2024-12-09 · 122026-07-07 · 12
PracticesBeta

5 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/nealrichardson/httpcache on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (1)
pkgdown
Coverage (1)
Coverage reporting
Reproducibility and dev environment (1)
Makefile
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)

Installing httpcache adds 9 packages (7 with compiled code, 3.2 MB of source tarballs). Heaviest: openssl 1.1 MB, jsonlite 1.0 MB, curl 714 KB.

Depends (1)
R >= 3.0.0
Imports (3)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
4direct
0indirect
Imports 4
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (1)
Author, Maintainer since 0.1.2 (2016)
Releases (7)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.2.0Latest
    record
    2021-01-11 · current release · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 1.1.0
    record
    2017-10-17 · diff ↗ ·
    removed 1 export
    cachedDownload
  • 1.0.2
    record
    2017-08-28 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 1.0.0
    record
    2017-01-03 · diff ↗ ·
    added 8 exports
    buildCacheKey, cachedDownload, cachedPOST, getCache, hitCache, loadCache, saveCache, setCache
  • 0.1.8
    record
    2016-08-29 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
Show 3 earlier eventsHide 3 earlier events

Package metadata

First published
2016-02-23
Total releases
7 / 10 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.0.0
Download size
27 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("httpcache")
Richardson, N. (2021). httpcache: Query Cache for HTTP Clients (Version 1.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.httpcache

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for httpcache version 1.2.0 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy