All installed, APC confirmed by visiting:

Authcache installed, settings.php written thus:

$conf['cache_inc'] = './sites/all/modules/authcache/api/';
$conf['authcache'] = array(
  'default' => array(
    'engine' => 'apc',                // apc, memcache, db, file, eacc or xcache
    'server' => array(),             // memcached (host:port, e..g, 'localhost:11211')
    'shared' => TRUE,                // memcached shared single process
    'prefix' => '',                  // cache key prefix (for multiple sites)
    'path' => 'files/filecache',     // file engine cache location
    'static' => FALSE,               // static array cache (advanced)

Debug always reports: cache_render: "n/a (first request?)"

The page never gets stored, which is confirmed by checking apc.php.

I put $is_page_authcache = TRUE; into my page and node tmpl files (not sure if this is right, worth a shot), still no caching.

Any ideas?


stephencarr’s picture

Component: Documentation » Code
Jonah Ellison’s picture

Did you ever find solution for this? Does APC work on its own? (apc_store(), apc_fetch())

nikemen’s picture

Version: 6.x-1.0-beta6 » 6.x-1.0-beta7

Same issue here. Caching doesn't work with APC nor with eAccelerator. I always get cache_render: "First_Page_Request" on Authcache Debug. If I use file it caches OK. If I got to apc.php everything works and I have plenty of memory... but empty. I'd really like to use APC :-(

Jonah Ellison’s picture

Can you post your APC settings from php.ini? Also, does apc.php display any entries under "User Cache Entries?"

stephencarr’s picture

My APC settings are:

apc.rfc1867 = 1

I am currently using eAccelerator instead which seems to work.

nikemen’s picture

Version: 6.x-1.0-beta7 » 6.x-1.0-rc1

I have the same problem. In php.ini I only loaded the extension, with no additional settings. I can't install the other engines on my shared hosting, only have apc that doesn't work, but file works ok.
Any solution insight?

EvanDonovan’s picture

@stephencarr: My first guess would be that your apc.shm_size is too small. Also, try adding in apc.max_file_size and set that to at least 10 (MB).

Jonah Ellison’s picture

Status: Active » Closed (fixed)

$conf['authcache'] needs to be $conf['cacherouter']