What is TTL and what value should you set?

Marc Wagner, July 22, 2022

TTL stands for Time To Live and is spe­ci­fied in seconds. The value indi­ca­tes how long your data in the form of packets is valid within a net­work befo­re the rou­ter dele­tes it.

After dele­ting the packet, it must be reques­ted again. So the TTL also influen­ces the loa­ding times of your web­site.

How to select the TTL value? #

When set­ting the TTL, you can free­ly choo­se which value you want to store. The lon­ger the packets are available, the less often they have to be reques­ted again. This results in fas­ter respon­se times.

On the web, a TTL bet­ween 1s and 24 hours is recom­men­ded. (So bet­ween 3600 and 86400 seconds).

Avatar of Marc Wagner
Marc Wagner

Hi Marc here. I'm the founder of Forge12 Interactive and have been passionate about building websites, online stores, applications and SaaS solutions for businesses for over 20 years. Before founding the company, I already worked in publicly listed companies and acquired all kinds of knowledge. Now I want to pass this knowledge on to my customers.

Similar Topics

Comments

Leave A Comment