?
Solved

very slow site

Posted on 2014-02-06
3
Medium Priority
?
1,355 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 54

Accepted Solution

by:
Scott Fell,  EE MVE earned 2000 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

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Question has a verified solution.

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

I want to start by talking about the use of plug-ins for WordPress. I started a web-site for a company I was working for a few years ago; I had extremely basic knowledge of HTML. I am a Graphic Designer by trade so I invited the opportunity as a cha…
How to create your own WordPress Theme Before I begin with the theme design tutorial, I would like to give you the basics of what is required to make a WordPress Theme. The most basic WordPress theme only requires 2 files: a style.css file and an…
The purpose of this video is to demonstrate how to manually back up a WordPress Database. This will be demonstrated using a Windows 8 PC. The Host used will be IPage.com Log into your Hosting account. IPage will be used for demonstration : Locat…
The purpose of this video is to demonstrate how to exclude a particular blog category from the main blog page. This is can be used when a category already has its own tab, or you simply want certain types of posts not to show up on the main blog. …
Suggested Courses

569 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