mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
New cache_size_kb config for SQLite, closes #304
This commit is contained in:
parent
9277c6236a
commit
29edbe90ff
4 changed files with 33 additions and 0 deletions
|
|
@ -110,3 +110,12 @@ Default HTTP caching max-age header in seconds, used for ``Cache-Control: max-ag
|
|||
::
|
||||
|
||||
datasette mydatabase.db --config default_cache_ttl:10
|
||||
|
||||
cache_size_kb
|
||||
-------------
|
||||
|
||||
Sets the amount of memory SQLite uses for its `per-connection cache <https://www.sqlite.org/pragma.html#pragma_cache_size>`_, in KB.
|
||||
|
||||
::
|
||||
|
||||
datasette mydatabase.db --config cache_size_kb:5000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue