From 8da32f8afd91ef803551fdf592f2d3efc70773c6 Mon Sep 17 00:00:00 2001 From: Simon C Date: Wed, 11 Mar 2020 16:53:07 +0100 Subject: [PATCH] fix: Avoid http-equiv tags MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit HTTP headers are more efficient than the http-equiv meta tags. The tags The http-equiv meta tags allow to communicate to the web browser information equivalent to the ones of HTTP headers. For example, the meta will have the same consequences than the HTTP Content-Type header. Two points don’t stimulate the use of http-equiv meta tags: Going through the meta requires to interpret the beginning of the HTML page, which is slower than going through the HTTP headers in terms of performance If the HTTP header is already present, the meta is ignored In which cases are the useful? Only one case can justify the presence of these meta tags: if you don’t have access to the configuration of your server, and that is to say to the HTTP headers. However, we advice you to use a configurable server so that you can establish the most efficient site possible. This page contains 1 http-equiv meta tag. If possible, you should replace it: x-ua-compatible --- layouts/partials/head.html | 1 - 1 file changed, 1 deletion(-) diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ef86ba7..bc314f6 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -2,7 +2,6 @@ -