Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
ipbfuck Posted May 10, 2016 Posted May 10, 2016 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.
Linda A Posted May 11, 2016 Posted May 11, 2016 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.
sobrenome Posted May 11, 2016 Posted May 11, 2016 The problem is how to configure Varnish, what is not simple without IPS assistance.
IveLeft... Posted May 11, 2016 Posted May 11, 2016 Varnish works very well, try Unixy Varnish and ask their support
ipbfuck Posted May 11, 2016 Author Posted May 11, 2016 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
ipbfuck Posted May 12, 2016 Author Posted May 12, 2016 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...
ipbfuck Posted May 12, 2016 Author Posted May 12, 2016 @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...
sobrenome Posted May 12, 2016 Posted May 12, 2016 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?
IveLeft... Posted May 12, 2016 Posted May 12, 2016 14 hours ago, laltroweb.it said: 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 ?
ipbfuck Posted May 13, 2016 Author Posted May 13, 2016 9 hours ago, Cloud 9 said: 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. - 3 hours ago, ZeroHour said: 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)
sudo Posted May 13, 2016 Posted May 13, 2016 29 minutes ago, laltroweb.it said: 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.