Title: Should I decrease max TTL?
Last modified: January 10, 2021

---

# Should I decrease max TTL?

 *  Resolved [radorp2p](https://wordpress.org/support/users/radorp2p/)
 * (@radorp2p)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/should-i-decrease-max-ttl/)
 * I currently have a max TTL of a week. When I check Redis stats, used memory is
   around 20mb while max memory is 122mb (128mb). Based on this, should I decrease
   my TTL? How does it affect performance?

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/should-i-decrease-max-ttl/#post-13889448)
 * Yeah, you can bump your TTL a bit, but your WP site might not have enough data
   to cache in it 🙂
 *  Thread Starter [radorp2p](https://wordpress.org/support/users/radorp2p/)
 * (@radorp2p)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/should-i-decrease-max-ttl/#post-13889482)
 * Didn’t understand what you meant. Should I increase or decrease max TTL?
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/should-i-decrease-max-ttl/#post-13893147)
 * You can increase it if you want and see what happens.
 *  Thread Starter [radorp2p](https://wordpress.org/support/users/radorp2p/)
 * (@radorp2p)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/should-i-decrease-max-ttl/#post-13897432)
 * Thanks. Last question: If I lower my 604800 max TTL to 86400, would it improve
   or worsen page load time / performance?
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/should-i-decrease-max-ttl/#post-13898314)
 * That depends on your traffic. Likely no difference. Play with it.
 *  Thread Starter [radorp2p](https://wordpress.org/support/users/radorp2p/)
 * (@radorp2p)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/should-i-decrease-max-ttl/#post-13899047)
 * 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.
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/should-i-decrease-max-ttl/#post-13899750)
 * You’ll have to find the ideal configuration yourself based on your Redis Server
   max memory.
 *  Thread Starter [radorp2p](https://wordpress.org/support/users/radorp2p/)
 * (@radorp2p)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/should-i-decrease-max-ttl/#post-13903245)
 * You never give a clear answer lol
 *  Plugin Author [Till Krüss](https://wordpress.org/support/users/tillkruess/)
 * (@tillkruess)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/should-i-decrease-max-ttl/#post-13903639)
 * MaxTTL is highly dependent on your setup, I can’t provide you with a clear answer.
 *  Thread Starter [radorp2p](https://wordpress.org/support/users/radorp2p/)
 * (@radorp2p)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/should-i-decrease-max-ttl/#post-13904486)
 * 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
 *  Thread Starter [radorp2p](https://wordpress.org/support/users/radorp2p/)
 * (@radorp2p)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/should-i-decrease-max-ttl/#post-13904561)
 * There is also 2gb swap memory.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘Should I decrease max TTL?’ is closed to new replies.

 * ![](https://ps.w.org/redis-cache/assets/icon-256x256.gif?rev=2568513)
 * [Redis Object Cache](https://wordpress.org/plugins/redis-cache/)
 * [Support Threads](https://wordpress.org/support/plugin/redis-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/redis-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/redis-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/redis-cache/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [radorp2p](https://wordpress.org/support/users/radorp2p/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/should-i-decrease-max-ttl/#post-13904561)
 * Status: resolved