Solved

very slow site

Posted on 2014-02-06
3
1,182 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Who says nothing in life is free? WordPress.com is a freebie. WordPress.org's downloadable publishing platform is free. Heck, even WordPressMU is free. WordPress is an open source project, which means it can be used on any personal or commerc…
How to install BuddyPress on your self-hosted WordPress site It’s been called everything from “social networking in a box” to “Facebook without the terms of service,” but until Feb. 16, BuddyPress was a relatively unknown outside the WordPress MU…
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to Import and export files in WordPress. This will be demonstrated using a Windows 8 PC. Go to your WordPress login page. This will look like the following: mywebsite.com/wp-login.php : Click on Too…

919 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

15 Experts available now in Live!

Get 1:1 Help Now