What is TTL and what value should you set?

Marc Wag­ner

Janu­ary 26, 2022

1 min read|

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).

88e86fcb816eff22bc917094df2862d8dd5c0e978b333e6dd5f36f808990c261 96

Arti­kel von:

Marc Wag­ner

Hi Marc here. I’m the foun­der of Forge12 Inter­ac­ti­ve and have been pas­sio­na­te about buil­ding web­sites, online stores, appli­ca­ti­ons and SaaS solu­ti­ons for busi­nesses for over 20 years. Befo­re foun­ding the com­pa­ny, I alre­a­dy work­ed in publicly lis­ted com­pa­nies and acqui­red all kinds of know­ledge. Now I want to pass this know­ledge on to my cus­to­mers.

Hast du eine Fra­ge? Hin­ter­lass bit­te einen Kom­men­tar