oxcache 0.2.0

A high-performance multi-level cache library for Rust with L1 (memory) and L2 (Redis) caching.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Test configuration for database partitioning
[database]
# SQLite connection for testing
sqlite_path = "/tmp/oxcache_test.db"

[partitioning]
# Enable partitioning for testing
enabled = true

# Partition strategy: monthly, weekly, daily
strategy = "monthly"

# Number of partitions to keep
retention_partitions = 12

# Partition size for SQLite (in days)
[partitioning.sqlite]
partition_days = 30