News Flash:
New Version of ShopClass theme 1.4.0 is Released on 13 JUNE 2018, Please upgrade your installation.

Installing Memcached

A place to talk about anything related to Tuffclassified theme in general. This is not the place to ask support questions.
User avatar
tuffadmin
Site Admin
Posts: 1236
Joined: Tue Jan 29, 2013 7:31 pm
Has thanked: 33 times
Been thanked: 111 times

Re: Installing Memcached

Post by tuffadmin » Fri Jun 24, 2016 5:45 pm

I am not fan of control panel, they do not offer deep customisation to your server configuration.
I have installed php5.6 with opcache, apcu and memcahed (Opcache is core component) in my server, nginx use Php-FPM for php processing.
After that enabled apc caching in our theme and in osclass.
apcu for caching small database results, Opcache for opcode caching( Converting php to byte code) and memcached for large database results.
This setup gives me efficient way to use server resources.
No support for unnecessary PM, use forum for support queries.
Please give us good review if you bought our theme from Osclass Market

steve
Senior
Posts: 222
Joined: Thu Oct 01, 2015 5:33 pm
Has thanked: 11 times
Been thanked: 4 times

Re: Installing Memcached

Post by steve » Fri Jun 24, 2016 6:07 pm

Ah so you do use memcached!

I installed memcached on my ubuntu 14.04, but was not able to configure osclass to use it.

On dong this to config.php it does not work -

define('OSC_CACHE', 'memcache');
$_cache_config[] = array(
'default_host' => '127.0.0.1',
'default_port' => 11211,
'default_weight' => 1
);

How did you do it?
(note, the configuration says memcache and not memcached)

User avatar
tuffadmin
Site Admin
Posts: 1236
Joined: Tue Jan 29, 2013 7:31 pm
Has thanked: 33 times
Been thanked: 111 times

Re: Installing Memcached

Post by tuffadmin » Fri Jun 24, 2016 6:26 pm

For osclass I use apcu but for my other caching need( not part of theme but part of my website tuffclassified.com) I use memcached.
No support for unnecessary PM, use forum for support queries.
Please give us good review if you bought our theme from Osclass Market

Locked