Yeah, you can bump your TTL a bit, but your WP site might not have enough data to cache in it 🙂
Didn’t understand what you meant. Should I increase or decrease max TTL?
You can increase it if you want and see what happens.
Thanks. Last question: If I lower my 604800 max TTL to 86400, would it improve or worsen page load time / performance?
That depends on your traffic. Likely no difference. Play with it.
I have around 10k daily traffic. Should I use low or high max TTL? I could not really find any explanatory information on max TTL.
You’ll have to find the ideal configuration yourself based on your Redis Server max memory.
You never give a clear answer lol
MaxTTL is highly dependent on your setup, I can’t provide you with a clear answer.
It was like this: When my max TTL was 604800.
# Memory
used_memory:19640320
used_memory_human:18.73M
used_memory_rss:13844480
used_memory_rss_human:13.20M
used_memory_peak:30129928
used_memory_peak_human:28.73M
used_memory_peak_perc:65.19%
used_memory_overhead:1732654
used_memory_startup:796328
used_memory_dataset:17907666
used_memory_dataset_perc:95.03%
allocator_allocated:19988296
allocator_active:21180416
allocator_resident:26193920
total_system_memory:1029038080
total_system_memory_human:981.37M
used_memory_lua:41984
used_memory_lua_human:41.00K
used_memory_scripts:0
used_memory_scripts_human:0B
number_of_cached_scripts:0
maxmemory:128000000
maxmemory_human:122.07M
maxmemory_policy:allkeys-lfu
allocator_frag_ratio:1.06
allocator_frag_bytes:1192120
allocator_rss_ratio:1.24
allocator_rss_bytes:5013504
rss_overhead_ratio:0.53
rss_overhead_bytes:-12349440
mem_fragmentation_ratio:0.71
mem_fragmentation_bytes:-5753840
mem_not_counted_for_evict:0
mem_replication_backlog:0
mem_clients_slaves:0
mem_clients_normal:49694
mem_aof_buffer:0
mem_allocator:jemalloc-5.2.1
active_defrag_running:0
lazyfree_pending_objects:0
There is also 2gb swap memory.