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
Comment #1
ogi commented#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 yoursettings.phpand replace$variables[]with the actual values in/admin/config/development/performanceweb form :-)Just using the two lines (without the variable stuff) may lead to unexpected problems so better be on the safe side.
Comment #2
socialnicheguru commentedThanks 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"
Comment #3
ogi commentedFrom practical standpoiint, you go to
admin/config/development/performanceand with some HTML/DOM inspector look at the values ofcache_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 insettings.phpfile you don't have this$variablearray yet.