Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Please use the same code as common.inc to incorporate cache_external as well...
Somehow I receive internal server error in my setup where I have external cache enabled.
$cache = variable_get('cache', CACHE_DISABLED);
if ($cache != CACHE_DISABLED && $cache != CACHE_EXTERNAL) {
page_set_cache();
}
Also why you need to call this again?
In fact in common.inc page_set_cache is called before module_invoke_all('exit');
Comments
Comment #1
mikeytown2 CreditAttribution: mikeytown2 commentedPressflow issue
http://api.drupal.org/api/function/drupal_page_footer/6
I'll get a patch later tonight, or if you want to do one I'll use it
I need to call this again to set the cache if your using the built in cache. Page cache was set with the non-parallel references, thus after processing it, I need to set it again.
Comment #2
Wim LeersWill be obsoleted by #933942: Merge Parallel and CDN modules: migration path.