Hi,

First of all I would like to thank you for this great module. Works as a charm. I installed it and have been using it for about 5 months now. Does the job perfectly. I used it with Authcache and by itself also. I have disabled Authcache for the moment as I would like to do the following:
I would like to add Cache Expire module to flush only expired pages from cache. I found a module that makes it possible to use Cache Expire with core caching and it is looks easy, but as I don`t quite understand how File Cache works yet I have no idea how to get it to work with File Cache or Authcache.

http://drupal.org/project/expire_cache_page is the module that makes it possible to use Cache Expire with core caching at the entire module is the following:

/**
* Implements hook_expire_cache().
*/
function expire_cache_page_expire_cache($urls) {
// If anonymous page caching is enabled
if (variable_get('cache', FALSE)) {
// As of Drupal 7, you can pass multiple items into cache_clear_all().
// TODO, is this more efficient that a foreach? The resulting IN() SQL might not use indexes efficiently.
cache_clear_all($urls, 'cache_page');
}
}

What would I need to change to make it work with File Cache?

Thank you in advance.

Comments

ogi’s picture

Component: Miscellaneous » Code
Issue summary: View changes
Parent issue: » #2878224: About integration with existing expiration modules
ogi’s picture

Category: Support request » Feature request
delacosta456’s picture

hi @asistentweb did you find any solution please ?