In the read me it says that filecache_fast_pagecache is not enabled but gives instructions on how to set it up.(see below) I think I can ignore them for file cache until filecache_fast_pagecache is enabled. Please confirm.

So should I forget about #1 and #2 below?

If I am using apc and file cache, can I enable these two as they work in apc?
$conf['page_cache_without_database'] = TRUE;
$conf['page_cache_invoke_hooks'] = FALSE;

But since filecache_fast_pagecache is not implemented does that mean that the above settings might not work even if they work with APC?

Thanks for the clarification.

NOT IMPLEMENTED YET: filecache_fast_pagecache
---------------------------------------------

In the suggested lines for settings.php above, there's a commented
line for enabling pagecache support in filecache. To use it, just
remove the '#' character.

This mode of operation allows Drupal to serve cached pages without
accessing the database at all. The precise operation when
filecache_fast_pagecache is enabled is as follows:

1. Load cid 'variables' in bin 'cache' into $variables. If it doesn't
exist, no further action is taken.
2. Set the following $conf variables. Each variable is set only if
it's unset:
$conf['page_cache_without_database'] = TRUE;
$conf['page_cache_invoke_hooks'] = FALSE;
$conf['page_cache_maximum_age'] = $variables['page_cache_maximum_age'];
$conf['cache_lifetime'] = $variables['cache_lifetime'];
$conf['page_compression'] = $variables['page_compression'];

Comments

ogi’s picture

Status: Active » Fixed

#1 and #2 are just implementation details of future filecache_fast_pagecache. You can enable this functionality now, as you observed. Just use #2 in your settings.php and replace $variables[] with the actual values in /admin/config/development/performance web form :-)

Just using the two lines (without the variable stuff) may lead to unexpected problems so better be on the safe side.

socialnicheguru’s picture

Status: Fixed » Needs work

Thanks for the reply.

A few more questions

how do you setup #1?

when I goto the performance page I do not see any variables.

so which variables are you referring to in "replace $variables[] with the actual values in /admin/config/development/performance web form :"?

what is meant by this:
"Load cid 'variables' in bin 'cache' into $variable"

ogi’s picture

Status: Needs work » Fixed

From practical standpoiint, you go to admin/config/development/performance and with some HTML/DOM inspector look at the values of cache_lifetime, etc. Then you replace in the above code $variables['cache_lifetime'] with the value you got from HTML/DOM inspector, e.g. 3600 for 1h lifetime. That's all. I have written "actual values" because in settings.php file you don't have this $variable array yet.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.