{"id":9855089,"date":"2026-11-18T15:25:12","date_gmt":"2026-11-18T14:25:12","guid":{"rendered":"https:\/\/wp-rocket.me\/docs\/activer-keep-alive\/"},"modified":"2026-11-18T15:25:12","modified_gmt":"2026-11-18T14:25:12","slug":"activer-keep-alive","status":"publish","type":"docs_hub","link":"https:\/\/wp-rocket.me\/fr\/docs\/activer-keep-alive\/","title":{"rendered":"Activer Keep Alive"},"content":{"rendered":"<h2>Apache<\/h2>\n<p>\n\tIl y a deux options pour activer Keep Alive sur Apache.&nbsp;<\/p>\n<dl>\n<dt>1<\/dt>\n<dd>Via le fichier de configuration Apache sur votre serveur<br \/>\n\tAjoutez simplement : <em>KeepAlive On<\/em>\n\t<\/dd>\n<dd>Vous pouvez demander \u00e0 votre h\u00e9bergeur s\u2019ils peuvent le faire pour vous. Votre serveur devra \u00eatre red\u00e9marr\u00e9 apr\u00e8s avoir ajout\u00e9 cela.<\/dd>\n<dt>2<\/dt>\n<dd>Via votre fichier htaccess &#8211; &nbsp;ajouter le code suivant :<\/dd>\n<dd>\n<pre>&lt;ifModule mod_headers.c&gt;\nHeader set Connection keep-alive\n&lt;\/ifModule&gt;<br><\/pre>\n<\/dd>\n<\/dl>\n<h2>Nginx<\/h2>\n<p>\n\tSi vous utilisez Nginx, Keep Alive devrait \u00eatre activ\u00e9, \u00e0 moins que vous trouviez cette ligne dans le&nbsp;fichier de configuration :&nbsp;<\/p>\n<pre>\tkeepalive_disable\n<\/pre>\n<p>\n\tvous pouvez utiliser ces param\u00e8tres pour ajuster vos r\u00e9glages :<\/p>\n<pre>\tkeepalive_requests\n\tkeepalive_timeout\n<\/pre>\n<p>\n\tPlus d\u2019informations&nbsp;:&nbsp; <a href=\"http:\/\/nginx.org\/en\/docs\/http\/ngx_http_core_module.html#keepalive_disable\" target=\"_blank\" rel=\"noopener\">http:\/\/nginx.org\/en\/docs\/http\/ngx_http_core_module.html#keepalive_disable<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Apache Il y a deux options pour activer Keep Alive sur Apache.&nbsp; 1 Via le fichier de configuration Apache sur votre serveur Ajoutez simplement : KeepAlive On Vous pouvez demander \u00e0 votre h\u00e9bergeur s\u2019ils peuvent le faire pour vous. Votre&hellip;<\/p>\n","protected":false},"template":"","docs_hub_category":[236],"docs_hub_tag":[],"class_list":["post-9855089","docs_hub","type-docs_hub","status-publish","hentry","docs_hub_category-performance-core-web-vitals-fr"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Activer Keep Alive - WP Rocket<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wp-rocket.me\/fr\/docs\/activer-keep-alive\/\" \/>\n<meta property=\"og:locale\" content=\"fr_FR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Activer Keep Alive - WP Rocket\" \/>\n<meta property=\"og:description\" content=\"Apache Il y a deux options pour activer Keep Alive sur Apache.&nbsp; 1 Via le fichier de configuration Apache sur votre serveur Ajoutez simplement : KeepAlive On Vous pouvez demander \u00e0 votre h\u00e9bergeur s\u2019ils peuvent le faire pour vous. Votre&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wp-rocket.me\/fr\/docs\/activer-keep-alive\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Rocket\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pages\/WP-Rocket\/631942253526829\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2024\/10\/1200x800-Featured-Image.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2048\" \/>\n\t<meta property=\"og:image:height\" content=\"1365\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@wp_rocket\" \/>\n<meta name=\"twitter:label1\" content=\"Dur\u00e9e de lecture estim\u00e9e\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/wp-rocket.me\\\/fr\\\/docs\\\/activer-keep-alive\\\/\",\"url\":\"https:\\\/\\\/wp-rocket.me\\\/fr\\\/docs\\\/activer-keep-alive\\\/\",\"name\":\"Activer Keep Alive - WP Rocket\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/wp-rocket.me\\\/#website\"},\"datePublished\":\"2026-11-18T14:25:12+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/wp-rocket.me\\\/fr\\\/docs\\\/activer-keep-alive\\\/#breadcrumb\"},\"inLanguage\":\"fr-FR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/wp-rocket.me\\\/fr\\\/docs\\\/activer-keep-alive\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/wp-rocket.me\\\/fr\\\/docs\\\/activer-keep-alive\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Accueil\",\"item\":\"https:\\\/\\\/wp-rocket.me\\\/fr\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Documentation\",\"item\":\"https:\\\/\\\/wp-rocket.me\\\/docs\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Activer Keep Alive\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/wp-rocket.me\\\/#website\",\"url\":\"https:\\\/\\\/wp-rocket.me\\\/\",\"name\":\"WP Rocket\",\"description\":\"Plugin d&#039;optimisation de sites WordPress\",\"publisher\":{\"@id\":\"https:\\\/\\\/wp-rocket.me\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/wp-rocket.me\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"fr-FR\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/wp-rocket.me\\\/#organization\",\"name\":\"WP Rocket\",\"url\":\"https:\\\/\\\/wp-rocket.me\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"fr-FR\",\"@id\":\"https:\\\/\\\/wp-rocket.me\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/wp-rocket.me\\\/wp-content\\\/uploads\\\/1\\\/logo-wp-rocket-paypal-2.png\",\"contentUrl\":\"https:\\\/\\\/wp-rocket.me\\\/wp-content\\\/uploads\\\/1\\\/logo-wp-rocket-paypal-2.png\",\"width\":150,\"height\":41,\"caption\":\"WP Rocket\"},\"image\":{\"@id\":\"https:\\\/\\\/wp-rocket.me\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/pages\\\/WP-Rocket\\\/631942253526829\",\"https:\\\/\\\/x.com\\\/wp_rocket\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UC1ozThXHd1IWIZ5wkshgp_Q\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Activer Keep Alive - WP Rocket","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wp-rocket.me\/fr\/docs\/activer-keep-alive\/","og_locale":"fr_FR","og_type":"article","og_title":"Activer Keep Alive - WP Rocket","og_description":"Apache Il y a deux options pour activer Keep Alive sur Apache.&nbsp; 1 Via le fichier de configuration Apache sur votre serveur Ajoutez simplement : KeepAlive On Vous pouvez demander \u00e0 votre h\u00e9bergeur s\u2019ils peuvent le faire pour vous. Votre&hellip;","og_url":"https:\/\/wp-rocket.me\/fr\/docs\/activer-keep-alive\/","og_site_name":"WP Rocket","article_publisher":"https:\/\/www.facebook.com\/pages\/WP-Rocket\/631942253526829","og_image":[{"width":2048,"height":1365,"url":"https:\/\/wp-rocket.me\/wp-content\/uploads\/2024\/10\/1200x800-Featured-Image.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_site":"@wp_rocket","twitter_misc":{"Dur\u00e9e de lecture estim\u00e9e":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wp-rocket.me\/fr\/docs\/activer-keep-alive\/","url":"https:\/\/wp-rocket.me\/fr\/docs\/activer-keep-alive\/","name":"Activer Keep Alive - WP Rocket","isPartOf":{"@id":"https:\/\/wp-rocket.me\/#website"},"datePublished":"2026-11-18T14:25:12+00:00","breadcrumb":{"@id":"https:\/\/wp-rocket.me\/fr\/docs\/activer-keep-alive\/#breadcrumb"},"inLanguage":"fr-FR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wp-rocket.me\/fr\/docs\/activer-keep-alive\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wp-rocket.me\/fr\/docs\/activer-keep-alive\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Accueil","item":"https:\/\/wp-rocket.me\/fr\/"},{"@type":"ListItem","position":2,"name":"Documentation","item":"https:\/\/wp-rocket.me\/docs\/"},{"@type":"ListItem","position":3,"name":"Activer Keep Alive"}]},{"@type":"WebSite","@id":"https:\/\/wp-rocket.me\/#website","url":"https:\/\/wp-rocket.me\/","name":"WP Rocket","description":"Plugin d&#039;optimisation de sites WordPress","publisher":{"@id":"https:\/\/wp-rocket.me\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wp-rocket.me\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"fr-FR"},{"@type":"Organization","@id":"https:\/\/wp-rocket.me\/#organization","name":"WP Rocket","url":"https:\/\/wp-rocket.me\/","logo":{"@type":"ImageObject","inLanguage":"fr-FR","@id":"https:\/\/wp-rocket.me\/#\/schema\/logo\/image\/","url":"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/logo-wp-rocket-paypal-2.png","contentUrl":"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/logo-wp-rocket-paypal-2.png","width":150,"height":41,"caption":"WP Rocket"},"image":{"@id":"https:\/\/wp-rocket.me\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pages\/WP-Rocket\/631942253526829","https:\/\/x.com\/wp_rocket","https:\/\/www.youtube.com\/channel\/UC1ozThXHd1IWIZ5wkshgp_Q"]}]}},"_links":{"self":[{"href":"https:\/\/wp-rocket.me\/fr\/wp-json\/wp\/v2\/docs_hub\/9855089","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp-rocket.me\/fr\/wp-json\/wp\/v2\/docs_hub"}],"about":[{"href":"https:\/\/wp-rocket.me\/fr\/wp-json\/wp\/v2\/types\/docs_hub"}],"version-history":[{"count":0,"href":"https:\/\/wp-rocket.me\/fr\/wp-json\/wp\/v2\/docs_hub\/9855089\/revisions"}],"wp:attachment":[{"href":"https:\/\/wp-rocket.me\/fr\/wp-json\/wp\/v2\/media?parent=9855089"}],"wp:term":[{"taxonomy":"docs_hub_category","embeddable":true,"href":"https:\/\/wp-rocket.me\/fr\/wp-json\/wp\/v2\/docs_hub_category?post=9855089"},{"taxonomy":"docs_hub_tag","embeddable":true,"href":"https:\/\/wp-rocket.me\/fr\/wp-json\/wp\/v2\/docs_hub_tag?post=9855089"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}