By Ken on Friday, 03 October 2014
Posted in General Issues
Replies 4
Likes 0
Views 889
Votes 0
Hi there, just want to ask opinion/suggestions. All the pages in my site loads less than 4 seconds. This page is around 20 seconds which basically is a turn off. Any ideas how to optimize this page?
i have site with a lot of photos like yours, and see how it loads http://xn----8sbzdfdkkigfrhec4km.xn--p1ai/albomy/granada/user?uid=365-cportal
it russian, but server in Germany ... I'm using nginx with cache and gzip

there is some strings in my .htaccess


<IfModule mod_expires.c>
# Enable expiration control
ExpiresActive On

# Default expiration: 1 hour after request
ExpiresDefault "now plus 1 hour"

# CSS and JS expiration: 1 week after request
ExpiresByType text/css "now plus 1 week"
ExpiresByType application/javascript "now plus 1 week"
ExpiresByType application/x-javascript "now plus 1 week"

# Image files expiration: 1 month after request
ExpiresByType image/bmp "now plus 1 month"
ExpiresByType image/gif "now plus 1 month"
ExpiresByType image/jpeg "now plus 1 month"
ExpiresByType image/jp2 "now plus 1 month"
ExpiresByType image/pipeg "now plus 1 month"
ExpiresByType image/png "now plus 1 month"
ExpiresByType image/svg+xml "now plus 1 month"
ExpiresByType image/tiff "now plus 1 month"
ExpiresByType image/vnd.microsoft.icon "now plus 1 month"
ExpiresByType image/x-icon "now plus 1 month"
ExpiresByType image/ico "now plus 1 month"
ExpiresByType image/icon "now plus 1 month"
ExpiresByType text/ico "now plus 1 month"
ExpiresByType application/ico "now plus 1 month"
ExpiresByType image/vnd.wap.wbmp "now plus 1 month"
ExpiresByType application/vnd.wap.wbxml "now plus 1 month"
ExpiresByType application/smil "now plus 1 month"

# Audio files expiration: 1 month after request
ExpiresByType audio/basic "now plus 1 month"
ExpiresByType audio/mid "now plus 1 month"
ExpiresByType audio/midi "now plus 1 month"
ExpiresByType audio/mpeg "now plus 1 month"
ExpiresByType audio/x-aiff "now plus 1 month"
ExpiresByType audio/x-mpegurl "now plus 1 month"
ExpiresByType audio/x-pn-realaudio "now plus 1 month"
ExpiresByType audio/x-wav "now plus 1 month"

# Movie files expiration: 1 month after request
ExpiresByType application/x-shockwave-flash "now plus 1 month"
ExpiresByType x-world/x-vrml "now plus 1 month"
ExpiresByType video/x-msvideo "now plus 1 month"
ExpiresByType video/mpeg "now plus 1 month"
ExpiresByType video/mp4 "now plus 1 month"
ExpiresByType video/quicktime "now plus 1 month"
ExpiresByType video/x-la-asf "now plus 1 month"
ExpiresByType video/x-ms-asf "now plus 1 month"
</IfModule>
·
Friday, 03 October 2014 09:14
·
0 Likes
·
0 Votes
·
0 Comments
·
and mod_deflate is "ON" too
·
Friday, 03 October 2014 09:26
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Vlad, looking at your page it loads around 4 seconds, quite an impressive feat!
http://xn----8sbzdfdkkigfrhec4km.xn--p1ai/albomy/granada/user?uid=365-cportal
I'll see what I can do on my site with your tips! Thanks a lot!
Ken
·
Friday, 03 October 2014 09:51
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello Ken,

The "PHP" part is actually < 1 second which is already extremely impressive but as Vladimir posted above, it's most likely that those images are causing the hiccups.
·
Friday, 03 October 2014 11:48
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post