Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
marklcfc Posted November 2, 2016 Posted November 2, 2016 I asked my hosts to install this but it didn't appear to be working correctly. See below and the hits / misses. I asked why that would happen and they said it is due to two possible things: A) Items not cachable B) As you are running CGI as your PHP handler opcache gets emptied on every request as each of them starts there own cache. The other PHP handler that can be used is "dso" - Would you like me to try enable that? How exactly should I be using this?
ASTRAPI Posted November 2, 2016 Posted November 2, 2016 It is normal to have some hit misses but normal hits should be a lot lot more than missed ones Yes try DSO
marklcfc Posted November 2, 2016 Author Posted November 2, 2016 I always had the impression cgi (I use fastcgi) was the fastest, due to that I wasn't keen on changing but I may be wrong?
marklcfc Posted November 18, 2016 Author Posted November 18, 2016 I've installed opcache today and it seems to be working now i've changed to php-fpm from cgi. One problem I've had reported since though is that the topic list was not updating for guests since I turned opcache on. It's fine for me but I've seen the screenshot and it appears there is an issue there. Anyone else experienced this?
AlexWebsites Posted January 9, 2017 Posted January 9, 2017 I'm using memcache 3.0.9-dev with php 7.0.14 and have Zend OPcache enabled but not sure if it's caching as cache hits are 0, cache scripts is 1 and cache misses is 1....at least that's what it looks like. I also have zlib compression on. Does OPcache need to be configured for IPS?
ASTRAPI Posted January 12, 2017 Posted January 12, 2017 @AlexWebsites Yes you must enable it from advanced configuration menu :-) @marklcfc You can use Memcached ....
marklcfc Posted January 12, 2017 Author Posted January 12, 2017 4 hours ago, ASTRAPI said: @AlexWebsites Yes you must enable it from advanced configuration menu :-) @marklcfc You can use Memcached .... My hosts don't co-operate when I asked about memcached a few months ago. Quote Regarding memcached, no progress I'm afraid, it's still yet to recieve an update to allow PHP 7 support as per output from WHM: pecl/memcached requires PHP (version >= 5.2.0, version <= 6.0.0, excluded versions: 6.0.0), installed version is 7.0.11). Quote There is an apache extension for memcache now which goes via: ea-apache24-mod_socache_memcache however there isn't a PHP extension version.
Pross22 Posted January 12, 2017 Posted January 12, 2017 Redis is just as good as memcached. Been using it for ages without an issue with php7
ASTRAPI Posted January 12, 2017 Posted January 12, 2017 Quote My hosts don't co-operate when I asked about memcached a few months ago. That's a good time to start thinking to do by yourself things and don't wait for others I use it for php7 from a long time ago with no issues !
marklcfc Posted January 12, 2017 Author Posted January 12, 2017 Just now, ASTRAPI said: That's a good time to start thinking to do by yourself things and don't wait for others I use it for php7 from a long time ago with no issues ! Well I can't install things by myself on the server as it will only result in the server breaking and my forum being offline.
ASTRAPI Posted January 12, 2017 Posted January 12, 2017 Then you may need to find another provider If provider refuse to do what you want then you can't do anything about it than find another provider that will met your requirements .....
marklcfc Posted January 13, 2017 Author Posted January 13, 2017 16 hours ago, Pross22 said: Redis is just as good as memcached. Been using it for ages without an issue with php7 Same old story been told this morning it's not compatible with php 7
Pross22 Posted January 13, 2017 Posted January 13, 2017 3 hours ago, marklcfc said: Same old story been told this morning it's not compatible with php 7 Redis? Yes it is! Supports php7 and 7.1
marklcfc Posted January 13, 2017 Author Posted January 13, 2017 4 minutes ago, Pross22 said: Redis? Yes it is! Supports php7 and 7.1 Quote cPanel doesn't currently have native support for Redis however i see there is a feature request of other people requesting this so hopefully this maybe something added soon.
Pross22 Posted January 13, 2017 Posted January 13, 2017 You cant install redis from your package manager then install redis as a pecl extension? Its taken cpanel 10 years to add php-fpm i wouldnt hold your breath on them adding anything 'soon'.
marklcfc Posted January 13, 2017 Author Posted January 13, 2017 49 minutes ago, Pross22 said: You cant install redis from your package manager then install redis as a pecl extension? Its taken cpanel 10 years to add php-fpm i wouldnt hold your breath on them adding anything 'soon'. My hosts have done that now and having activated it I'm not seeing any real difference. My site is still considerably slower when logged in than when not logged in. Any idea what would cause that?
ASTRAPI Posted January 13, 2017 Posted January 13, 2017 Quote My site is still considerably slower when logged in than when not logged in. Any idea what would cause that? That's because as a guest you are viewing a cached forum version...
marklcfc Posted January 13, 2017 Author Posted January 13, 2017 I understand that, I still find this site another numerous others I've tried is still more reactive when logged in
ASTRAPI Posted January 13, 2017 Posted January 13, 2017 In general there are many things to do for a super fast forum.... You may want to check also: Many details can do the difference
Recommended Posts
Archived
This topic is now archived and is closed to further replies.