Search…

X3 Photo Gallery Support Forums

Search…
 
User avatar
GGANG
Experienced
Topic Author
Posts: 122
Joined: 02 Feb 2012, 11:01

Minimize redirects - gtmetrix.com

03 May 2017, 23:57

Attachments
minimize-redirects.jpg
minimize-redirects.jpg (208.61 KiB) Viewed 3333 times
 
User avatar
mjau-mjau
X3 Wizard
Posts: 14452
Joined: 30 Sep 2006, 03:37

Re: Minimize redirects - gtmetrix.com

04 May 2017, 00:53

GGANG wrote:How to solve it?
Did you try to click the item in GTmetrix to view details? As you can see, all this is related to the custom script you added (http://s10.histats.com/js15_as.js) and has nothing to do with X3. I can't solve issues with custom 3rd party scripts you are adding ... likely they use redirects as part of how their system works.
Image

In GTmetrix, you can click each element in the list to review the requests that are penalizing the score. Most penalizations are from non-X3 resources.

I wouldn't sweat too much about getting your scores perfect at GTmetrix though, as much of the output is misleading. The whole point of "performance", is to get the website to display "as fast as possible" to your visitors. The STATS module you are using, loads "asynchronously" in the background, and does not affect the website for the visitor. What does it matter if it triggers redirects as part of it's internal mechanism? It would be more of an issue if you had "redirects" to resources that are actually USED as part of the page that is displayed to the visitor.