summaryrefslogtreecommitdiff
path: root/HISTORY.md
diff options
context:
space:
mode:
authorJordan Cook <jordan.cook.git@proton.me>2022-10-28 12:46:19 -0500
committerJordan Cook <jordan.cook.git@proton.me>2022-10-28 17:38:28 -0500
commit81929b18b11c72dbf7d95b7358b9cb1e0b395c2c (patch)
tree2fe4e51cffe2135285b35aaed8d3c1688a048c0a /HISTORY.md
parent03a97079839a5683b202e3ea3f66e8ce54eedab4 (diff)
downloadrequests-cache-81929b18b11c72dbf7d95b7358b9cb1e0b395c2c.tar.gz
Add SQLite method to count unexpired responses in SQL
Diffstat (limited to 'HISTORY.md')
-rw-r--r--HISTORY.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/HISTORY.md b/HISTORY.md
index f602e7a..040c0f1 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -51,6 +51,7 @@
* Add `ttl_offset` argument to add a delay between cache expiration and deletion
* **SQLite**:
* Improve performance for removing expired responses with `delete()`
+ * Add `count()` method to count responses, with option to exclude expired responses (performs a fast indexed count instead of slower in-memory filtering)
* Add `size()` method to get estimated size of the database (including in-memory databases)
* Add `sorted()` method with sorting and other query options
* Add `wal` parameter to enable write-ahead logging