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.
Hello
have you guys heard of cache_backport?
i wonder if any collaboration between the two projects can occur?
perhaps cacherouter could adapt itself to cache.inc from D7, by following the example of cache_backport.
perhaps too Auth Cache could follow the same route. pretty much instant compatibility with D7?
Comments
Comment #1
pounardI did this module the cache_backport module. My code is only a really simple backport of D7 core caching API. It's able to use as is the D7 backends (where sometime some minor modifications has to be made, but right now, it works) -except for the database implementation of course, I had to rewrite because of dbtng-.
It's basically the exact same feature that Cache Router, except I do not provide any UI (neither does core by the way), it configures exactly the same as D7 even in settings.php file, etc etc.
Cache Router, in some way, as no use in D7 except maybe its UI, but otherwise, D7 core does already provide the main feature of it (as I could see) but I might be wrong.
Comment #2
andypostThe only reason to use settings.php - cacherouter needs early access to variables (variable_get()) when possible no DB connection innitialized to use early page cache in D6. D7 version still need this because cache Classes are get from variables too.
Comment #3
pounardIn fact there two good things about the settings.php file configuration:
Comment #4
lpalgarvio CreditAttribution: lpalgarvio commentedsuggesting some kind of merger here.
Comment #5
pounardCache router has a long life, and cache backport is more a proof of concept than a real module ready for production (because it lacks of testers). I'd be glad to see this code being merged to somebody's project and get real maintainers, but this is not an easy task to merge this kind of low level API project, it would be risky for existing installations to upgrade.