Jump to content

Varnish can work with ipb 4.1.*?


Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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 ^_^

Link to comment
Share on other sites

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...

Link to comment
Share on other sites

@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

xcache (only xcache):

Quote

...

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...

Link to comment
Share on other sites

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 ?

Link to comment
Share on other sites

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) :huh:

Link to comment
Share on other sites

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) :huh:

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.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...