Current time: 09-21-2020, 05:39 PM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Slow website; what's your take on this?
04-06-2014, 01:35 AM (This post was last modified: 04-06-2014 09:13 AM by Anton Chigurh.)
Post: #7
RE: Slow website; what's your take on this?
(04-05-2014 03:45 PM)JMTC Wrote:  Since a lot of time is wasted with DNS lookup and TTFB, I asked Cloudflare what I could do about that. They referred me to their blog message which said TTFB is meaningless and also pointed to my hosting.
That's their canned response to this and it is a lie. CF nor any other CDN can do anything at all to improve TTFB. I used CF for over two years and it did not improve speed, security or anything at all really. I did not get TTFB improvement until I ditched CF and went to work seriously this time, on optimization. And then?

Quote:However, when I asked my hosting provider if there were any issues or performance bottlenecks on the shared server, they brushed that off as causing these slow first view times.
What finally solved this for me was being able to convince the host it was them and their oversold, overcrowded shared machine, not me. When they finally seriously investigated they found i was on a really old, tired machine and they moved me to what they said was a "newer machine" and BAM, TTFB is a A grade every time for me now. Your site loads only just over 230kb on a browser, with only 17 requests. There is no way your site is the TTFB problem.

Slow first byte time is going to be shared hosting every time, and is going to be a oversold overcrowded machine at the host, every time. AND IT IS SIMPLE TO PROVE to your host - simply create a simple HTML page with nothing but the words "Hello There" and watch the TTFB STILL be bad for testing just that page!

All that said, try this for getting rid of that F grade for leverage browser caching:

In .htaccess add:
PHP Code:
<IfModule mod_expires.c>
    
ExpiresActive On
    ExpiresByType text
/css A2628000
    ExpiresByType text
/richtext A3600
    ExpiresByType image
/svg+xml A3600
    ExpiresByType text
/plain A3600
    ExpiresByType text
/xsd A3600
    ExpiresByType text
/xsl A3600
    ExpiresByType video
/asf A2628000
    ExpiresByType video
/avi A2628000
    ExpiresByType image
/bmp A2628000
    ExpiresByType application
/java A2628000
    ExpiresByType video
/divx A2628000
    ExpiresByType application
/msword A2628000
    ExpiresByType application
/x-msdownload A2628000
    ExpiresByType image
/gif A2628000
    ExpiresByType application
/x-gzip A2628000
    ExpiresByType image
/x-icon A2628000
    ExpiresByType image
/jpeg A2628000
    ExpiresByType application
/vnd.ms-access A2628000
    ExpiresByType audio
/midi A2628000
    ExpiresByType video
/quicktime A2628000
    ExpiresByType audio
/mpeg A2628000
    ExpiresByType video
/mp4 A2628000
    ExpiresByType video
/mpeg A2628000
    ExpiresByType application
/javascript A2628000
    ExpiresByType application
/x-javascript A2628000
    ExpiresByType application
/vnd.ms-project A2628000
    ExpiresByType application
/vnd.oasis.opendocument.database A2628000
    ExpiresByType application
/vnd.oasis.opendocument.chart A2628000
    ExpiresByType application
/vnd.oasis.opendocument.formula A2628000
    ExpiresByType application
/vnd.oasis.opendocument.graphics A2628000
    ExpiresByType application
/vnd.oasis.opendocument.presentation A2628000
    ExpiresByType application
/vnd.oasis.opendocument.spreadsheet A2628000
    ExpiresByType application
/vnd.oasis.opendocument.text A2628000
    ExpiresByType audio
/ogg A2628000
    ExpiresByType application
/pdf A2628000
    ExpiresByType image
/png A2628000
    ExpiresByType application
/vnd.ms-powerpoint A2628000
    ExpiresByType audio
/x-realaudio A2628000
    ExpiresByType application
/x-shockwave-flash A2628000
    ExpiresByType application
/x-tar A2628000
    ExpiresByType image
/tiff A2628000
    ExpiresByType audio
/wav A2628000
    ExpiresByType audio
/wma A2628000
    ExpiresByType application
/vnd.ms-write A2628000
    ExpiresByType application
/vnd.ms-excel A2628000
    ExpiresByType application
/zip A2628000
</IfModule

You're actually looking pretty darn good right here, in this test using IE 10. Only a couple of F grades, easy fixes.

http://www.webpagetest.org/result/140405_ZH_E8R/

Fix that F grade for "compress images" by uploading this image I am providing, to overwrite the one that's in your files here:
PHP Code:
http://www.tradingcode.net/wp-content/uploads/tnMouseAndKeyboardKeys.jpg 

[Image: ?di=VTQX]

Rename it to match, upload to overwrite. I compressed it for you, shaving off 14kb.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Slow website; what's your take on this? - Anton Chigurh - 04-06-2014 01:35 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)