Solved

very slow site

Posted on 2014-02-06
3
1,174 Views
Last Modified: 2014-02-07
Hi,

I have this site www.spargo.co.il
it is extremely slow (15-20 seconds per page), I enabled Super Catch with no big difference.
I tried to activate another theme - didn't help, same speed.
I have another site on the same server that works good, so it is not a server problem.
any ideas from the experts?

thanks.
0
Comment
Question by:moshik008
3 Comments
 
LVL 70

Expert Comment

by:Jason C. Levine
ID: 39840325
There's a lot of different things going on with that site.  The biggest culprit appears to be the revslider plugin but it could also be due to image size and having a ton of javascript loading on the page.

You might want to disable the slider to see if the response improves.  If not, the next thing is to try and load as much javascript as you can in the footer.  See:

https://developers.google.com/speed/pagespeed/insights/?url=http%3A%2F%2Fwww.spargo.co.il%2F

for more information but basically you have a bunch of javascript and CSS files that have to load before the page will render in the browser and that could be causing the delay.  You can minify and combine CSS and javascript any number of ways and that will drastically improve page load times.
0
 
LVL 52

Accepted Solution

by:
Scott Fell,  EE MVE earned 500 total points
ID: 39840790
You have a script that is accessing  /wp-admin/-admin-ajax.php and it is showing on my end 6 seconds to load.

<script type='text/javascript'>
/* <![CDATA[ */
var CloudFwOp = {"themeurl":"http:\/\/www.spargo.co.il\/wp-content\/themes\/envision","ajaxUrl":"http:\/\/www.spargo.co.il\/wp-admin\/admin-ajax.php","device":"widescreen","RTL":"","responsive":"1","lang":"en-US","sticky_header":"","sticky_header_offset":"0","uniform_elements":"1","disable_prettyphoto_on_mobile":"1","gallery_overlay_opacity":"0.9"};
/* ]]> */
</script>

Open in new window

and that is returning an error
<strong>W3 Total Cache Error:</strong> some files appear to be missing or out of place. Please re-install plugin or remove <strong>C:\Inetpub\vhosts\spargo.co.il\httpdocs\wp-content\object-cache.php</strong>.{"fragments":{"div.widget_shopping_cart_content":"<div class=\"widget_shopping_cart_content\">\n\n<ul class=\"cart_list product_list_widget \">\n\n\t\n\t\t<li class=\"empty\">No products in the cart.<\/li>\n\n\t\n<\/ul><!-- end product list -->\n\n\n<\/div>"},"cart_hash":""}

Open in new window


Since every little thing helps, you should really validate your code.  When you are using jquery/ajax/js it is looking for html tags as well as probably moving things around/adding/hiding.  When the code is out of whack, this can cause troubles.

Click to validate
One of the errors is
Line 497, Column 39: No p element in scope but a p end tag seen.
<p style="text-align: right;"></ul></p>

You have closed a UL tag inside of an opening and closing P tag.  Remember to close tags in the same order they are opened.
0
 

Author Comment

by:moshik008
ID: 39843679
it was the woocommerce admin-ajax.php that made the slow loading times becouse of a missing script close tag. thank you Scott for the direction.
0

Featured Post

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Suggested Solutions

If you are looking for plug-ins to add functions to your WordPress small business web site, take some time to read though this comprehensive list.  These are all the plugins I use for my customers WordPress web sites, as well as my own.  Be sure to …
In Part I (http://www.experts-exchange.com/Web_Development/Blogs/WordPress/A_8410-Getting-Started-In-WordPress-Part-I.html), I introduced you to the powerful WordPress backend, the WordPress administrative Dashboard.  In Part II, I will introduce yo…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The purpose of this video is to demonstrate how to prevent comment spam on a WordPress Website. This will be demonstrated using a Windows 8 PC. Plugin Akismet will be used. Go to your WordPress login page. This will look like the following: myw…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now