clayton29657 Posted October 13, 2012 Share Posted October 13, 2012 Ok my web host got memcache installed on my vps server and my site slowed way down. Not good at all in my book. Can I use other cache systems that are out there or must I use memcache? I currently use 1.4.9 presta version. All system requirements are met using the prestashop software as far as apache goes etc. I wanted to ask before i made any decisions on what to do tomorrow. Thank you Clayton Link to comment Share on other sites More sharing options...
vynx Posted October 13, 2012 Share Posted October 13, 2012 in 1.5 there is some option APC,xcache and filesystem, i dont know all option available or not in 1.4.9 Link to comment Share on other sites More sharing options...
clayton29657 Posted October 13, 2012 Author Share Posted October 13, 2012 (edited) in 1.5 there is some option APC,xcache and filesystem, i dont know all option available or not in 1.4.9 the only options in my BO is memcache and file systems but I need to know can others be used as well? This memcache has slowed my website down bad and i can NOT release it like this. Thank you vynx for your reply. Edited October 13, 2012 by clayton29657 (see edit history) Link to comment Share on other sites More sharing options...
vynx Posted October 13, 2012 Share Posted October 13, 2012 (edited) are your hosting can enable eaccelerator/APC ?maybe you can try to ask, for filesystem i think you try first before go live... Edited October 13, 2012 by vynx (see edit history) Link to comment Share on other sites More sharing options...
clayton29657 Posted October 13, 2012 Author Share Posted October 13, 2012 (edited) yes that is what they told me about a file system to put in place for images because I have like 20k images and something has to be in place to use. I have been working on it all day long so we shall see what others say here regarding this. what you say is called accelerator/apc correct? I will ask about this one to see but they told me they will help load different options to help find the speed I am needing so that is good. I just do not want to load something then it now work correctly and waste a couple more hrs when if I already knew then I would not have them try it. Edited October 13, 2012 by clayton29657 (see edit history) Link to comment Share on other sites More sharing options...
vynx Posted October 13, 2012 Share Posted October 13, 2012 eAccelerator or APC Link to comment Share on other sites More sharing options...
clayton29657 Posted October 13, 2012 Author Share Posted October 13, 2012 (edited) I understand now with file system just wonder if it will help speed my site up. My tech at web host was telling me about other cache systems also just wonder if I could use this with prestashop or not if it was downloaded. Edited October 13, 2012 by clayton29657 (see edit history) Link to comment Share on other sites More sharing options...
clayton29657 Posted October 13, 2012 Author Share Posted October 13, 2012 (edited) Just a follow up with all who wants to know more about a cache system to help with load times with prestashop software. Thanks to Bellini13 I have now enough info to find a cache system to put in place. Hi Clayton, thanks for reaching out to me. I am not aware of other caching components that you could use with v1.4.9. I'd like to better understand why you feel the need for one? The filesystem/memcache facility will only cache frequently used database information (things like products, category, customer, cart/order, configuration etc...). The reason for this is because it is typically quicker to access the information from memory, then to constantly query it from the database. The use of caching will not effect images because it is not PHP that is serving them, it is your apache/web server that serves them. You might want to look into a media server, that serves/caches static content (images, css, javascript etc...). There are a few options for media servers... 1) You can create 3 sub-domains on your server that redirect to your main domain (media1, media2, media3) and then enable the media server in prestashop. Prestashop will then attempt to serve that static content from those sub-domains. This is a performance benefit due to the way browsers open connections to your server. There is a connection limit for a client browser (let's say its 4). So a browser will download all of the page content using these 4 connections. By providing 3 additional domains to serve content, the browser will use 16 connections instead. This does not offer caching 2) You can use a service like amazon (CDN) http://aws.amazon.com/cloudfront/ which would provide a caching/media server. I have not installed this yet for any of my clients, but have seen discussions on the forums about it. 3) Prestashop has partnered with CloudCache.com, which would be similar to amazon's CDN You might want to research the CDN options more (cost and features). Edited October 14, 2012 by clayton29657 (see edit history) Link to comment Share on other sites More sharing options...
pel024 Posted October 17, 2012 Share Posted October 17, 2012 I've tried using both media servers and Amazon Cloudfront but both are not perfect. Media servers The problem with this (tested on PS1.4.6.2) is that if you have a shared SSL certificate static content will not be displayed on https pages at all, because the certificate is only valid for your main domain, not subdomains. It's strange because on earlier versions of 1.4 this problem was fixed - if on a http page the static content was served from the media servers, when on https it was served from the main domain - but the problem reappeared in later versions. It's a shame because there was a noticeable speed increase. Cloudfront This is really easy and quick to set up and at first I was really pleased with the outcome - all static content was served from the CDN (which is great if you have visitors scattered around the planet) and page load was definitely faster. The problem though is that occasionally the page would hang for a few seconds and then load instantly. So I just found it a bit unreliable so I gave up on this also. Hope this helps. Link to comment Share on other sites More sharing options...
clayton29657 Posted October 19, 2012 Author Share Posted October 19, 2012 (edited) thank you for the reply pel024, I have signed up for amazon cdn and will update this later after my exp. using the service. I use a ev ssl on my site not shared ssl and right now we are running test on the site and all test have worked really good. Thank you for your input Edited October 19, 2012 by clayton29657 (see edit history) Link to comment Share on other sites More sharing options...
blueraccoon Posted May 5, 2013 Share Posted May 5, 2013 How did you get on with amazon out of interest? Link to comment Share on other sites More sharing options...
clayton29657 Posted May 5, 2013 Author Share Posted May 5, 2013 Hey blueraccoon, I stopped using amazon cdn and went for cloudflare but was still with some issues so I now do not use a cache system except what comes with the software and my site runs better without it to be honest. If I were you do some testing on your site test only before launching the site because to be careful to only cache static pages and images cause it caused problems with shipping and customer log ins etc Good luck Clayton Link to comment Share on other sites More sharing options...
blueraccoon Posted May 6, 2013 Share Posted May 6, 2013 Thanks for such a speedy response Clayton; much appreciated When you mention thorough testing do you mean if I use cloudflare/ amazon cdn? Or do you mean caching via the likes of Memcached? Cheers, Sam. Link to comment Share on other sites More sharing options...
clayton29657 Posted May 6, 2013 Author Share Posted May 6, 2013 If you're wanting to use a cache system I would do a lot of testing on the site itself for which software you're wanting to use such as amazon, cloudflare or memcache. I used all 3 and I have to be honest my site runs better without all 3 of these. Being memcache was the worst one I used and was a toss up with amazon and cloudflare. Cloudflare is really good if you sell world wide and only cache static pages and images on their paid service like 20. a month is what I had and offers a lot of options but it was stll causing issues with customers accounts and shipping calculations in carts, etc. Good luck 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now