Jump to content


Photo
- - - - -

Extremely slow loading website w/drag and drop framework

slow external css unused css

  • Please log in to reply
5 replies to this topic

#1 dharmagate

dharmagate

    Advanced Member

  • Members
  • 65 posts
  • Framework Version:2.3.1
  • Country: Country Flag

Posted 09 October 2012 - 06:36 PM

I was asked to take over the management of a website recently. I immediately switched them over to the pagelines framework and deactivated as many of their unnecessary plugins as possible.

I then took the following steps based on the

Please Login or Register to see this Hidden Content

&

Please Login or Register to see this Hidden Content

suggested by the client's host (Hostmmonster) support:
  • updated wordpress, pagelines, plugins
  • installed and setup W3 Total Cache
  • turned on gzip compression with htaccess
  • optimize/repair database
  • turned on css minify in pagelines advanced
  • ran smushit on images
  • setup cloudflare
After I ran through all these steps, I contacted hostmonster again and they told me the server was not slow that it is the website. Images too big and blah blah.... There are only a few images on the website outside of the gallery page, and I optimized them with photoshop then smushit. I don't believe this is the problem.

I did successfully get the site from a D score to an A score with Yslow and a B score with Gtmetrix. However, it seems that there are a lot of errors in reference to CSS problems and the obvious problem is the site is loading way too slow. The load time is not consistent either. Sometimes it is 7-8s and sometimes over 30s!!!

I am at a loss. Obviously a dedicated server would help, but that may not be an option at this time. if I could go back to the host with two A scores, then they absolutely could not blame it on the site.

What do you guys think? I would really appreciate some good advice here.

Here is the Gtmetrix report:

Please Login or Register to see this Hidden Content



#2 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 09 October 2012 - 07:18 PM

Another case of over optimisation slowing your site down.

Most cheap shared hosts use NAS file systems, thats over the network.
You have opted for file based objects and db cache, these are thousands of tiny files, so the webserver has to locate these on the filesystem, usually very slowly.
This kind of caching is meant to use a memory cache like APC, or memcached, shared hosts wont let you use this.

Database Caching using disk: basic
Page Caching using disk: enhanced

You can turn on the less file mode, if its supported by adding this to wp-config.php

Please Login or Register to see this Hidden Content



#3 dharmagate

dharmagate

    Advanced Member

  • Members
  • 65 posts
  • Framework Version:2.3.1
  • Country: Country Flag

Posted 09 October 2012 - 11:32 PM

Thanks for the response. I have added the code to the wp-config file but unfortunately there is no noticeable difference.

#4 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 09 October 2012 - 11:35 PM

Yea, doesn't work on all shared hosting for safety reasons im afraid, if the file cant be written it just does not bother. Sorry about that.

#5 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 09 October 2012 - 11:38 PM

Also, your hosting account has over 1000 accounts on that IP, and I must say, thats most ive seen this year!!!! So your load time is actually amazing fast considering!!!

#6 Simon_P

Simon_P

    Messer

  • Administrators
  • 8388607 posts
  • LocationDevon
  • Framework Version:2.0
  • Country: Country Flag

Posted 09 October 2012 - 11:42 PM

Please Login or Register to see this Hidden Content







Also tagged with one or more of these keywords: slow, external css, unused css