Community @ The Turning Gate

Support community for TTG plugins and products.

NOTICE

The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.

This forum is now closed, and exists here as a read-only archive.

  • New user registrations are disabled.
  • Users cannot create new topics.
  • Users cannot reply to existing topics.

You are not logged in.

#1 2016-09-11 07:18:56

gwlco
Member
From: Pensacola, Fl.
Registered: 2012-10-24
Posts: 337
Website

Help with idenitifying problems bluehost analyzed

Bluehost as a really great URL analyzer and here are some of the data:
search page
yellow=css
green=html
red=javascripte
blue=images

search page

The one that is troublesome is this one above, here are some of the problems outlines:

Items to be considered for implementing this recommendation:

    http://garylittle.com/backlight/modules/okapi-core/static/css/fonts.css
    http://garylittle.com/backlight/modules/okapi-core/static/css/font-awesome.min.css
    http://garylittle.com/backlight/custom/css/custom-sample.css
    http://www.google-analytics.com/analytics.js
    http://garylittle.com/galleries/flora-and-fauna/flowers1/thumbnails/bay-sunrise-8020001.jpg
    http://garylittle.com/galleries/flora-and-fauna/flowers1/thumbnails/bay-7300028.jpg
    http://garylittle.com/galleries/flora-and-fauna/flowers1/thumbnails/garylittle-rose.jpg
    http://garylittle.com/galleries/flora-and-fauna/flowers1/thumbnails/utah_garylittle-0703.jpg

The actuall list is quite long, I have only included a few for brevity.
I assume you can help me with understanding this reporting?
Thanks, Gary

http://garylittle.com/

Offline

#2 2016-09-11 07:56:54

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Help with idenitifying problems bluehost analyzed

Hi Gary, Backlight sets various headers, including those for caching.  All of those files you've listed are directly accessed via the web server as static files, and not passed back through Backlight in any way.  The solution then is a matter for server configuration.

I'll run the same test on my own Bluehost installation, and see what steps I can take through cPanel or .htaccess directives to improve the score.

Can you email me the full list of files, so that I can see whether any of the URLs are handled by Backlight rather than static files?

Offline

#3 2016-09-11 18:15:27

Matthew
Administrator
From: San Francisco, CA
Registered: 2012-09-24
Posts: 5,795
Website

Re: Help with idenitifying problems bluehost analyzed

You can set this via .htaccess. Search "expires headers" on this page for info:
http://ce4.theturninggate.net/docs/doku … s_creation


Matt

The Turning Gate, http://theturninggate.net

Offline

#4 2016-09-11 20:57:23

Ben
Moderator
From: Melbourne, Australia
Registered: 2012-09-29
Posts: 4,399

Re: Help with idenitifying problems bluehost analyzed

I've had a look at my homepage, a full-sized Theater album.  The score was 94%. 

After having a look at http://garylittle.com/galleries/flora-a … /flowers1/ in Google Chrome, I've found that the browser is caching the content, despite a lack of an Expires header.  On first load, the total downloads totalled 2.2MB.  On refresh, this had reduced to 17.9KB.  That raises the question: what is the concern here with caching?  Is it that the files may not cached, causing a performance penalty, or that they are being cached when they shouldn't necessarily be, possibly causing stale files to be shown?

Managing caching well is difficult, and I'm by no means an expert on it.  Backlight aims for the middle ground of efficiency and returning the latest files.  Essentially, what this does is tells the browser to cache a file, but to check that the file is current on each page load.  This check is responded to by the server as either a very lightweight response stating that the cached version is good to use, or a heavier response, with the latest version of the file.  We can do that in Backlight, because the back-end is an application that can apply logic to the request and contents of the file to be returned.

As far as I know, setting the Expires header alone will tell the either one or both of these: 1. That there is no need to check for a newer file until a set period has passed, and 2. That the browser should check for a newer file after a set period has passed. 

While I'm happy with what Backlight is doing, I need to read up more on what the Expires header alone really means.  A quick glance suggests this page provides some decent information on caching in general: https://developers.google.com/web/funda … hing?hl=en

Offline

#5 2016-09-12 00:25:59

gwlco
Member
From: Pensacola, Fl.
Registered: 2012-10-24
Posts: 337
Website

Re: Help with idenitifying problems bluehost analyzed

This is great Ben, I really apprediate your thinking on this. While not anywhere4s near your expertise, I know that getting a file by going to the root and parsing down, would definitely slow things up. Let me know if you need anything else from
Bluehost, a truly great help desk people.
Gary

Offline

Board footer

Powered by FluxBB