Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted May 10, 20168 yr Hi, atm I use memcache + opcache (I've this with my hosting and I've enabled)... but in my hosting I've also opcache, xcache and varnish. atm all is ok for me, my question is: can I enable and use varnish with memcache and opcache (only memcache from ipb pannel..) or is best to remain as is? thanks in advance, S.N.
May 11, 20168 yr Yes, you can use Varnish with memcache and opcache. They all do rather different things and compliment one another. If you're not using load-balancing with multiple web servers, you may find Xcache is a better option that memcache.
May 11, 20168 yr Author but, in cpanel, i can simply enable and work as is, or is necessary some customization in ipb? ps: thanks for reply, but, like from ipb admin panel (report as best option), i've preferred memcache instead of xcache and, indeed, seems to work fine
May 12, 20168 yr Author edit: I've tri to enable, but, like from header (varnish can be verified by header) seems to work only with http, and my website is in https. then, to enable in https I need a reverse proxy (too bit complicated - and im on hosting). so, I've disabled again (I don't want disable https for another cache). ps: If someone need an header checker, I've this (made with ipb): https://laltroweb.it/tools/checkheader/ regards...
May 12, 20168 yr Author @Linda A: i want say you a giant "THANK'U" for your post (switch to xcache if...) - i've try, and this is the result! memcahce+opcache: Quote https://gtmetrix.com/reports/laltroweb.it/aE2bdFfH https://gtmetrix.com/har.html?inputUrl=/reports/laltroweb.it/aE2bdFfH/net.harp&expand=true&validate=false xcache (only xcache): Quote https://gtmetrix.com/reports/laltroweb.it/BSI3q9BN https://gtmetrix.com/har.html?inputUrl=/reports/laltroweb.it/BSI3q9BN/net.harp&expand=true&validate=false ... as all can see, a big difference here i can't enable varnish and railgun (my hosting has partnership with cloudflare setup in cpanle, but can offer only if no in https - and i use https by cpanel via nameserver. + startssl..) but is ok! i prefer an acceptable performance with https regards...
May 12, 20168 yr That's curious. I have always heard here even by IPS team that memcache + opcache would be the best method for caching. Is there anyone else that have tried Xcache over the traditional memcache + opcache? @Lindy? @RevengeFNF? @Adriano Faria?
May 12, 20168 yr edit: I've tri to enable, but, like from header (varnish can be verified by header) seems to work only with http, and my website is in https. then, to enable in https I need a reverse proxy (too bit complicated - and im on hosting). so, I've disabled again (I don't want disable https for another cache). ps: If someone need an header checker, I've this (made with ipb): https://laltroweb.it/tools/checkheader/ regards... Varnish doesnt work with Https, you need to do some clever things to enable varnish to cache ssl pages You can normally check the headers in firebug ?
May 13, 20168 yr Author Varnish doesnt work with Https, you need to do some clever things to enable varnish to cache ssl pages You can normally check the headers in firebug ? i usually check header with a firefox extension (web developer toolbar if I fine remember), but, eg, now im with mobile, and if I need to check header... my tool can be a good way to do this. - His stats show memcache + opcache is faster. my stats? memcache+opcache: https://gtmetrix.com/reports/laltroweb.it/aE2bdFfH xcache: https://gtmetrix.com/reports/laltroweb.it/BSI3q9BN here I see best result with second link (xcache)
May 13, 20168 yr my stats? memcache+opcache: https://gtmetrix.com/reports/laltroweb.it/aE2bdFfH xcache: https://gtmetrix.com/reports/laltroweb.it/BSI3q9BN here I see best result with second link (xcache) Memcache etc only affect php processing time. If you compare the first line of the waterfall you will see the page processing time is less with memcache+opcache for the main php index page. https://laltroweb.it/_script/vhosting/vhost_rand.php is slower but thats not IPB related. Nginx is your ssl handler, just route nginx -> varnish -> php-fpm. I would expect that to work but I have not used varnish much thb.
Archived
This topic is now archived and is closed to further replies.