: Google Search : Why does redirect kill performance According to Ilya Grigorik who works on Google Search Engine , redirects kill performance especially on mobile , I dont understand why ??
According to Ilya Grigorik who works on Google Search Engine , redirects kill performance especially on mobile , I dont understand why ??
More posts by @Gloria169
1 Comments
Sorted by latest first Latest Oldest Best
Because of the nature how redirects work, there are 2 requests made during a redirect.
The example will use redirected CSS file (from example.com/content.css to example.net/some/folder/content.css), but it works same way for all redirected content:
The initial request to fetch example.com/content.css.
The response for this request will be that it is redirected to example.net/some/folder/content.css.
The browser will fire another request to example.net/some/folder/content.css.
The browser will receive content.css.
Now, without redirection, this process would only need 1 request to process:
The initial request to fetch example.com/content.css.
The browser will receive content.css.
As there might be many resources redirected on a single web-page, you can see how that will impact performance as it needs to make two requests instead of one every time. Using Permanent Redirects helps here for clients as browser caches the redirection and should issue requests to redirected content straight away. This will not be the case for Google Crawler I assume, as it should really check raw (non-cached) requests every time too track changes in the redirects.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.