Jump to content

Slow Front Office


Recommended Posts

Hey guys... I installed Presta to replace a heavily modified version of OS Commerce we've been running. I've spent about a month getting it tailored to my liking, purchasing the necessary modules, populating the catalog, etc.

 

So I go to finish it up and bring it live and all of the sudden the front office is just crawling. We're talking about 20 second load times here. We're on a fast server running several other stores so I know it's not the server. It's something in the software or maybe a setting that changed but I didn't change anything that would make it do this. For comparison's sake, our existing site is running on the same server and runs exponentially faster.

 

Here's our Presta install: http://www.wbodystore.com/prestademo/

 

And here's our existing website for comparison: www.wbodystore.com

 

I should note the back office is still quick, force compile is off, cache is on... yada yada... :) This is just a front office problem.

 

So, any guesses as to why this is crawling and why it's crawling all of the sudden?

Link to comment
Share on other sites

Checked the site loaded really fast for me using IE8, however the customer info area in the top left corner is partially hidden and there is a dark transparent bar at the top of the store logo.

Was going to dispaly a snap but this stupid thing says I hase reached my global upload quota.

Link to comment
Share on other sites

Those big shiney images in the nivo slider will be slowing your site down (noticed the original site doesn't have them). Also is there a delay on that popup that overlays? It seemed to take a while to pop up.

 

Good luck with your transition.

Link to comment
Share on other sites

Those big shiney images in the nivo slider will be slowing your site down (noticed the original site doesn't have them). Also is there a delay on that popup that overlays? It seemed to take a while to pop up.

 

Good luck with your transition.

That's just standard Javascript calling for a random image. The old site had it too. I just removed it tonight. You'll notice once the site starts to load it comes up fast but it just sits there before it starts to load. It doesn't do that on the other site and this was a sudden change.

Link to comment
Share on other sites

noticed that you do not have gzip enabled. This allows the server to zip most of the site files which is then unzipped at the browser.

 

Is that a server setting or Presta setting? My main issue here is that this happened all of the sudden. It was working fine a couple days ago and then yesterday it just started to crawl. I'm open to further enhancing the site but I'm looking more for anything that might have happened that would result in the site suddenly slowing down.

Link to comment
Share on other sites

Hi WBSMike,

You can enable gzip in your Back Office under Tools > Configuration. Additionally, I just checked your site, it was really fast on my end.

 

I hope this helps.

 

-Mike

 

Hi Mike,

 

I could not find a way to configure gzip from tools-->configuration, where exactly can I find it....(1.4.6.2)

 

Thanks...

 

I did not see a slow down accessing your site, it loaded up nicely and I probably have the slowest connection on the board. :)

Link to comment
Share on other sites

Additional note on activating gzip compression, if you are able to modify your PHP.ini file through your server control panel look for a line that reads - zlib.output_compression = Off - simply change the Off to On, Off is the default value.

For my server this is located under CGI and Scripting Language Support then PHP scripting.

Hope this helps.

Link to comment
Share on other sites

Hello WBSMike and everybody else trying to help.

 

I tried some of the things that you guys mentioned above and it seems the load speed increased a bit.

 

On the other hand, WBSMike, are you using godaddy hosting? Becasuse I am and I get the same thing, sometimes is fast sometimes is not... here is my store in development: cossina.com/store

Link to comment
Share on other sites

Hello WBSMike and everybody else trying to help.

 

I tried some of the things that you guys mentioned above and it seems the load speed increased a bit.

 

On the other hand, WBSMike, are you using godaddy hosting? Becasuse I am and I get the same thing, sometimes is fast sometimes is not... here is my store in development: cossina.com/store

 

Yup, your site does the exact same thing. It's something that we need to resolve. You'll lose customers in a flash if it takes 20 seconds to load a page. So much for impulse buying.

Link to comment
Share on other sites

So, WBSMike, do you have a godaddy account?

 

Right now my website is loading fast, and yours too, but it might be an issue with godaddy... when my page takes too long to load what I see is that it takes a long time to make a connecction to the server bur after that it loads super fast.

 

Anybody from the prestashop team that could tell us if this is a recurring issue?

Link to comment
Share on other sites

So, WBSMike, do you have a godaddy account?

 

Right now my website is loading fast, and yours too, but it might be an issue with godaddy... when my page takes too long to load what I see is that it takes a long time to make a connecction to the server bur after that it loads super fast.

 

Anybody from the prestashop team that could tell us if this is a recurring issue?

 

Hi storemogul,

I personally prefer HostGator for my PrestaShop hosting, because they seem to offer the best combination of speed, service and proper default configuration for just about any project using our software.

 

I've used GoDaddy in the past, but my personal preference is HostGator.

 

-Mike

Link to comment
Share on other sites

  • 2 weeks later...

Hi fellow users,

 

I believe I am in the right place. I just migrated for doteasy.com (Canada) to godaddy (Arizona) but seem like it takes longer to load even though I am on this Ultimate 4GH server :huh:

 

I have gzip enabled but have not noticed much difference of the weight of the site.

 

Site located at http://tivicr.com/tienda

 

Thanks in advance, by the way Mike, great link and of course to the guys at http://nethercottconstructions.com and http://prestatraining.com.

 

Best Regards,

 

AJ

Link to comment
Share on other sites

Hi AJ,

I used Google's Page Speed tests to check out your site, and you also got quite the high score, at 82/100. For some perspective, CNN.com receives a 77 on those very same tests.

 

Using the link above, you can run the tests yourself to see what of their suggestions you can implement on your end in order to further increase your site's speed.

 

I hope this helps.

 

-Mike

Link to comment
Share on other sites

Thanks Mike, I have been chewing vast amount of articles on WPO so I should be close to becoming an expert haha. The page Speed Score does not measure the time it takes for a page to load, but it sure gives good advises as to what to improve. Also there is an add on for firefox called "Tamper data" [http://tamperdata.mozdev.org/] to find out what files are drawing the most time.

 

Are you familiar with CSS sprites?? Here is a great tool to enable them http://spriteme.org/ I actually tried the app and it works but was affraid of doing any irreversible changes.

 

best regards,

 

AJ

Link to comment
Share on other sites

Are you familiar with CSS sprites?? Here is a great tool to enable them http://spriteme.org/ I actually tried the app and it works but was affraid of doing any irreversible changes.

 

Just like making any other changes on your site, I would recommend that you back everything up first. This way, you have something to roll back to if any change you make doesn't work out as planned.

 

-Mike

Link to comment
Share on other sites

you currently are not using browser cache.

 

This will signficantly imporve your site performance when viewing your site pages. This is really nice for development of your site. It will giddy up.

 

Here is an safe example that one would place in the .htaccess. Note: many shared serves do not have moudle mod_expires.c loaded. If they did one would not have many reasons to 'rent' a higher server package.

 

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType text/css "access plus 1 week"
ExpiresByType text/javascript "access plus 1 week"
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType application/x-javascript "access plus 1 week"
ExpiresByType image/x-icon "access plus 1 year"
</IfModule>

 

more info

Note: you can change this to suit your needs.

 

CSS sprites,(my understanding) is they are for icons, so look at your savings, typically not worth the hassle of putting them in your global.css

 

Optimize images: you have a couple on the front page you could shrink...when you have some tool 'say firebug' you can see the exact ones and how much you can save, and even save as.... :)

  • Like 1
Link to comment
Share on other sites

you currently are not using browser cache.

 

This will signficantly imporve your site performance when viewing your site pages. This is really nice for development of your site. It will giddy up.

 

Here is an safe example that one would place in the .htaccess. Note: many shared serves do not have moudle mod_expires.c loaded. If they did one would not have many reasons to 'rent' a higher server package.

 

<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType text/css "access plus 1 week"
ExpiresByType text/javascript "access plus 1 week"
ExpiresByType application/javascript "access plus 1 week"
ExpiresByType application/x-javascript "access plus 1 week"
ExpiresByType image/x-icon "access plus 1 year"
</IfModule>

 

more info

Note: you can change this to suit your needs.

 

CSS sprites,(my understanding) is they are for icons, so look at your savings, typically not worth the hassle of putting them in your global.css

 

Optimize images: you have a couple on the front page you could shrink...when you have some tool 'say firebug' you can see the exact ones and how much you can save, and even save as.... :)

 

Thanks for replying Parse! I thought I had the browser cache set though the .htaccess file I have running on my root directory but if as you mention is not enabled on shared servers then that is the reason why it doesn't work. Althought I get that "/es/" at the end of my domain name which wasn't there before and I see it implemented on the .htaccess file so I am confused hahaha.

 

my htaccess file structure is as follow: http://tivicr.com/tienda/htaccess.txt

 

Regarding sprites I only found two issues so I thought they were no critical.

 

Best Regards,

 

AJ

Link to comment
Share on other sites

you can easily find out if the mod_expires.c is available, you can simply remove the IF, if not loaded you will get a 500 server error. You may also try calling your hosting provider to see if the module is available to your hosting account. If not see what you is the next package up that supports it. But like I said earlier, if they allowed this one little module...most people could work nicely on a shared and not need to upgrade. :)

Link to comment
Share on other sites

I am gonna proceed to sprite my site in order to see how much I can cut and let you guys know. I am actually getting that sprite issue as a priority to fix on a few webtool speed checkers I came across online.

 

Look forward to hearing back...I looked at it and it was only going to save like 2kb...I have a healthy keep-alive environemnt so I'm not to concerned about the connections. I'll do it when ps put's it in the back office...jajajajajaja

Link to comment
Share on other sites

haha more conveniente in the back office, a nice sprite images check box option. I was able to save me 9 requests for 51kb so that's a little less weight. I'd like to be able to cache through memcached, but I believe is not available on shared hosting!

You could use file cache...memcache...well...uhm...that I am saving for a snowy day...

Link to comment
Share on other sites

×
×
  • Create New...