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

mikeytown2’s picture

Title: When calling page_set_cache do the same as in common.inc » When calling page_set_cache do the same as in common.inc; Pressflow issue

Pressflow 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.

Wim Leers’s picture

Status: Active » Closed (fixed)