Current time: 12-12-2019, 09:01 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
16Sec
03-23-2016, 02:18 PM
Post: #1
16Sec
Hello,

my page needs 16,438 seconds and that is way too long i think. I dont know what to do. Here my .htaccess codes:

## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access plus 1 year"
ExpiresByType image/jpeg "access plus 1 year"
ExpiresByType image/gif "access plus 1 year"
ExpiresByType image/png "access plus 1 year"
ExpiresByType text/css "access plus 1 month"
ExpiresByType application/pdf "access plus 1 month"
ExpiresByType text/x-javascript "access plus 1 month"
ExpiresByType application/x-shockwave-flash "access plus 1 month"
ExpiresByType image/x-icon "access plus 1 year"
ExpiresDefault "access plus 2 months"
</IfModule>
## EXPIRES CACHING ##

<ifModule mod_headers.c>
Header set Connection keep-alive
</ifModule>

<IfModule mod_expires.c>
# Enable expirations
ExpiresActive On
# Default directive
ExpiresDefault "access plus 1 month"
# My favicon
ExpiresByType image/x-icon "access plus 1 year"
# Images
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType image/jpg "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
# CSS
ExpiresByType text/css "access plus 1 month"
# Javascript
ExpiresByType application/javascript "access plus 1

and function.php:

function defer_parsing_of_js ( $url ) {
if ( FALSE === strpos( $url, '.js' ) ) return $url;
if ( strpos( $url, 'jquery.js' ) ) return $url;
return "$url' defer ";
}
add_filter( 'clean_url', 'defer_parsing_of_js', 11, 1 );


And here my test results:

http://www.webpagetest.org/result/160323_9P_6EK/

Any ideas ?

Greetings
Find all posts by this user
Quote this message in a reply
03-30-2016, 04:49 AM
Post: #2
RE: 16Sec
Hello my German friend.

That is indeed a high loading time, even for IE11. Here is some advice. I will start with the basics based on your performance review from wpt:

- first bit time is high: consider better hosting. That's all I have here. From all the CDNs I believe cloudflare is the only one that can improve this metric.Also, Apache is pretty good nowadays for a webserver, but consider nginx + php7 as your next choice to get some extra speed. If you are using wordpress, easyengine or serverpilot (google it) are a good way to set up your sites. I recommend learning to configure nginx.

- Use persistent connections (keep alive) - a good article on this : https://varvy.com/pagespeed/keep-alive.html, also feel free to search google for other optimizations for this error.

- consider using a CDN. Cloudflare is free but you have to pay to use your own signed SSL . KeyCDN is cheap and decent. It offers the possibility to add your own ssl or use letsencrypt(free ssl) which is a decent option (I use it myself).

- Compress Images : I assume you use Wordpress? You can find a lot of plugins that can do this for you. If you don't please use a free service, we have plenty on the web (google compress images). On the topic of wordpress, you should consider using total cache or super cache or rocket wp if you can afford it.
Find all posts by this user
Quote this message in a reply
03-31-2016, 01:55 AM
Post: #3
RE: 16Sec
Recommendation #1:
As the previous response by zamolxes suggested, please consider using a better hosting or a CDN. You are losing about 3 seconds in the initial redirect from http://www.abboko.de to abboko.de and the subsequent loading of the HTML. When you use a CDN, the redirect can be issued from a node closer to end user and the latency involved in the request/response will reduce.

Recommendation #2:
Apart from that, you could consider lazy loading the web-fonts. If you see the waterfall, requests # 9-18 are all webfonts. While working on you, you could consider if you really need all these fonts! Maybe reducing the fonts would also help the performance.

Recommendation #3:
Refer WPT: http://www.webpagetest.org/video/compare...3V-r:8-c:0
If you look at the film-strip view of your site, you'll notice that some text loads first at 6s. At 9th second, this vanishes and is replaced by the content that is shown in the viewport.

My suggestion would be to prioritize content that is above the fold. This will also mean that you could try to lazy load the product image, if that is not already being done.

Suggestion:
Your WPT test run was from Dallas, USA. I guess your end users would in Germany / Europe. In that case, I'd recommend trying a WPT agent from within these regions so that you can get a more realistic experience.

Hope this helps!

Follow me on twitter: @rakshay
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


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