Re: Server speed test tool - GTmetrix.com
Yes looks like a pretty useful tool and less complex on initial viewing - with some I find the results page a bit overwhelming.
Re: Server speed test tool - GTmetrix.com
Yes looks like a pretty useful tool and less complex on initial viewing - with some I find the results page a bit overwhelming.
Re: Server speed test tool - GTmetrix.com
A âExpiresâ header is a timestamp sent by your web server to your visitors browser. It instructs a browser to keep a specific piece of data in its cache until the time set by the header is reached. It can be tied to almost any kind of data sent by your server (images, stylesheets, javascripts, web pages).
You could, for example, tell browsers to re-download your logo image only once per month. So, if you have a million page views from returning visits in a month, you just saved your server a theoretical million hits (and about 19 gigabytes of bandwidth if your logo weights 20 kilobytes).
When properly set, it can be a HUGE performance booster and bandwidth saver.
Hereâs some bedtime reading if you want to know more: http://www.mnot.net/cache_docs/
Re: Server speed test tool - GTmetrix.com
[QUOTE=William Godin;61926]A âExpiresâ header is a timestamp sent by your web server to your visitors browser. It instructs a browser to keep a specific piece of data in its cache until the time set by the header is reached. It can be tied to almost any kind of data sent by your server (images, stylesheets, javascripts, web pages).
You could, for example, tell browsers to re-download your logo image only once per month. So, if you have a million page views from returning visits in a month, you just saved your server a theoretical million hits (and about 19 gigabytes of bandwidth if your logo weights 20 kilobytes).
When properly set, it can be a HUGE performance booster and bandwidth saver.
Hereâs some bedtime reading if you want to know more: http://www.mnot.net/cache_docs/[/QUOTE]
Thanks for the info, I wanted to find out more about that actually. Going to test that on some of my sites. It seems to be a excellent way of speeding it up.
Oh and sorry about you having to do 2 posts. ânewâ users have to have made a few posts before they can include a link in their posts⌠yours got stuck waiting for approval. Sorry about that.
Re: Server speed test tool - GTmetrix.com
No problem, Bjorn. It kinda is my fault! I have been a lazy contributor.
I intend to do better this year.
By the way, how is everyone keeping tab on their website performance? Weâve been using the Apdex score for a while, and it changed our lives.
Re: Server speed test tool - GTmetrix.com
What a great tool indeed. Thanks Bjorn!
Iâll have to look into this âAdd expires headersâ tactic a little more too. I just moved to a dedicated server and anything to save bandwidth is certainly good. Thanks for the info William Godin.
Re: Server speed test tool - GTmetrix.com
[QUOTE=William Godin;61942]No problem, Bjorn. It kinda is my fault! I have been a lazy contributor.
I intend to do better this year.
By the way, how is everyone keeping tab on their website performance? Weâve been using the Apdex score for a while, and it changed our lives.[/QUOTE]
Damn, Apdex looks very complicated! You mean as in overall performance including sales?
Re: Server speed test tool - GTmetrix.com
Thatâs interesting⌠I hadnât heard of it before. Are you using a particular monitoring service to obtain that score?
Re: Server speed test tool - GTmetrix.com
[QUOTE=William Godin;61926]A âExpiresâ header is a timestamp sent by your web server to your visitors browser. It instructs a browser to keep a specific piece of data in its cache until the time set by the header is reached. It can be tied to almost any kind of data sent by your server (images, stylesheets, javascripts, web pages).
You could, for example, tell browsers to re-download your logo image only once per month. So, if you have a million page views from returning visits in a month, you just saved your server a theoretical million hits (and about 19 gigabytes of bandwidth if your logo weights 20 kilobytes).
When properly set, it can be a HUGE performance booster and bandwidth saver.
Hereâs some bedtime reading if you want to know more: http://www.mnot.net/cache_docs/[/QUOTE]
Iâve started to use Expire in headers. Iâm serving java and design images from a subdomain and with a 1 year expire on them. But I can update them by changing what folder I store them in and a htaccess rewrites makes sure it still works.
But not sure itâs much different, does the site flicker to anyone:
For example, the logo is now stored:
Re: Server speed test tool - GTmetrix.com
[QUOTE=gaydemon;62097]But not sure itâs much different, does the site flicker to anyone:
[/QUOTE]
its not flickering on me
Re: Server speed test tool - GTmetrix.com
Gay Porn Pig performs pretty badly on speed tests so we will be investing a bit in optimising it. Quite a bit will probably wait until we move it over to a new CMS (probably Gossamer based) - Joomla and some of the extensions seem too resource intensive.
Re: Server speed test tool - GTmetrix.com
Thanks! Itâs fully optimized now, and max on most but havent got a CDN yet:
http://gtmetrix.com/reports/www.gaydemon.com/8A2GrKA0
I bet Google will still tell me the site is slow.
Re: Server speed test tool - GTmetrix.com
Expires headers can be a pain in the ass if you have a dynamic site that changes after someone logs in. Take this site for example⌠How would you like it if you got a page that looked like you werenât logged in after you had actually logged in? Thatâs the sort of thing expires headers can do to you. Itâs even worse if thereâs a proxy server involved since the proxy server can cache a page and present it to multiple users - so you may get someone elseâs version of the page. Theyâve been the bane of my existence at times.
It gets more complicated since âExpiresâ isnât the only thing you need to set. âLast-Modifiedâ, âCache-Controlâ, and âPragmaâ are also HTTP headers that can affect the page caching. And on top of it all, there are HTML meta tag equivalents of each of them - and if they conflict you really have no clue what the browser will do⌠(Yes, thatâs up to 8 elements that all have to be in perfect sync).
Bjorn - I wouldnât recommend doing a 1 year expires on your Javascript. What if you want to change it? Iâd do a few hours at most so all the page loads in a particular session just hit the Javascript once. Thatâs really the point. The userâs browser cache wonât hold onto the file for a year, so thereâs no point in caching for a year.
Also, think about bang for the buck⌠Text files (HTML, JS, CSS) are small and highly compressible. Images are much better candidates for caching since they take a lot more bandwidth, though in the context of how fast does a particular page load, the overhead of retrieving the JS and CSS more than once can be a small factor. (More important is to make sure theyâre not on a different host that requires another DNS lookup and connection).
Re: Server speed test tool - GTmetrix.com
[QUOTE=rawTOP;62202]
Bjorn - I wouldnât recommend doing a 1 year expires on your Javascript. What if you want to change it? Iâd do a few hours at most so all the page loads in a particular session just hit the Javascript once. Thatâs really the point. The userâs browser cache wonât hold onto the file for a year, so thereâs no point in caching for a yearâŚ[/QUOTE]
Ah but there is a very simple way of solving the problem. I only use it for images and scripts that are used on all pages and I have a domain alias + htaccess setup for:
For example I tell the browser to find my logo at:
http://static.gaydemon.com/r1/images/logo.gif
If i have to change the logo, I simply change the URL to:
http://static.gaydemon.com/r2/images/logo.gif (note the r folder)
Forcing it to refresh. Itâs still the same file and location but just a simple htaccess rewrite that points that alias to the real location. Same with Java.
Re: Server speed test tool - GTmetrix.com
Itâs crazy hard to compute Apdex scorings! For the sake of our sanity, weâve outsourced that part. (Weâre using NewRelic)
Apdex doesnât calculate business performance per se (sales, etcâŚ). It just takes those hard-to-read technical metrics and transforms them into a measure of user satisfaction.
It basically tells you if the performance of your websites is a source of frustration for your customers in a manner us, non-ĂÂźber-geeks, can understand it.
Happy customers tend to be more loyal. And I just looove loyal customers. lol
Re: Server speed test tool - GTmetrix.com
Sorry if my last posts comes a bit out of no where. I completely missed the second page of replies⌠It was a reply to Bjorn and RocketJD.
Re: Server speed test tool - GTmetrix.com
[QUOTE=gaydemon;62223]Ah but there is a very simple way of solving the problem. I only use it for images and scripts that are used on all pages and I have a domain alias + htaccess setup for:
Forcing it to refresh. Itâs still the same file and location but just a simple htaccess rewrite that points that alias to the real location. Same with Java.:)[/QUOTE]
The additional dns lookup and http connection is probably hurting you more than youâre saving with the expires header. Putting everthing on www will make things a bit faster. You can still do your rewrite trick on a /static/ directory instead of a subomain.