Site slow response times.

Permalink 1 user found helpful
Hi we have just launched a site using concrete 5.5 our loading times vary from 2 seconds to 10 sometimes that caching is enabled.
Our shard hosting does not allow for apache gzipping or other forms of caching.

I have manually gzipped the js and css files though and also set up php compression through the htaccess file.

can anyone help me and tell me what is going on with the site.

The response time is very slow but once the server responds it loads lightening quick.

The page is also only 400 - 600 kb in size.

http://www.cpireland.crowneplaza.com/...

thanks in advace

 
hostco replied on at Permalink Reply
hostco
The first problem I can see right away is that none of your images are being cached.

http://www.cpireland.crowneplaza.com/files/6513/2922/5175/banner_cp...

http://www.cpireland.crowneplaza.com/files/8613/3250/1285/cp_northw...

http://www.cpireland.crowneplaza.com/files/9313/2921/4725/cpD_roman...

If your images were cached, this alone would speed things up quiet a bit.
Tifco0Ecommerce replied on at Permalink Reply
How do I cache the images?
Ekko replied on at Permalink Reply
Ekko
Whatever you did is working as your pages are loading very well now, and your down to 27.36 KB. If you had time to share what you did exactly it may help others in the same spot, as whatever your doing is working.
Tifco0Ecommerce replied on at Permalink Reply 1 Attachment
up until you checked it nothing has been changed.

What was implemented was:

- manually gzipping all static css and js files and using htacces code to pull them.

- php compression through htaccess.

- pragma no cache disabled

- Etags optimized

- Header expires set

htaccess code below (minus pretty url code)

php_flag zlib.output_compression on
php_value zlib.output_compression_level 5
Header unset Pragma
Options All -Indexes
# -- kill ETags --
FileETag none
# -- Expires Headers --
<ifModule mod_expires.c>
  ExpiresActive On
  ExpiresDefault "access plus 1 seconds"
  ExpiresByType text/html "access plus 1 seconds"
  ExpiresByType image/gif "access plus 2592000 seconds"
  ExpiresByType image/ico "access plus 2592000 seconds"
  ExpiresByType image/icon "access plus 2592000 seconds"
  ExpiresByType image/jpeg "access plus 2592000 seconds"


---------------------------------------------------------------

since then I've implemented miser.

but the problem is that sometimes it responds very quickly and other times it takes 2,3,4,5 even 10 seconds not to load but to respond.

does anyone know why it is taking so long for the site to respond to the http request?
Ekko replied on at Permalink Reply
Ekko
Awesome thanks for this.
PauloCarvalhoDesign replied on at Permalink Reply
PauloCarvalhoDesign
adamjohnson replied on at Permalink Reply
adamjohnson
Or 12345j's Tinifier if it's a commercial site:

http://www.concrete5.org/marketplace/addons/tinifier/...
PauloCarvalhoDesign replied on at Permalink Reply
PauloCarvalhoDesign
Here if you need an htaccess more complete for that matter:
# -- concrete5 urls start --
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME}/index.html !-f
RewriteCond %{REQUEST_FILENAME}/index.php !-f
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>
# -- concrete5 urls end --
# ----------------------------------------------------------------------
# Better website experience for IE users
# ----------------------------------------------------------------------
# Force the latest IE version, in various cases when it may fall back to IE7 mode
#  github.com/rails/rails/commit/123eb25#commitcomment-118920