lifecycle::badge("experimental")
Set conservative, process-wide options for the experimental HTTP/HTTPS VFS. These values are read on first open of a remote database in the current process.
Usage
sqliteHttpConfig(
cache_size_mb = NULL,
prefetch_pages = NULL,
fallback_full_download = NULL
)Details
Options are stored in environment variables so they also affect C-level code:
RSQLITE_HTTP_CACHE_MB: In-memory page cache size in megabytes (default 4).RSQLITE_HTTP_PREFETCH_PAGES: Prefetch this many pages ahead (default 0).RSQLITE_HTTP_FALLBACK_FULLDL: IfTRUE(default), fall back to full download when the server does not support HTTP Range; ifFALSE, open will fail.