Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
The expire framework allows for pages to be selectively expired from the cache. For forums this means that you would want parent items to be cleared when a post is posted or updated.
This is better than the internal Drupal approach which clears the whole page cache on a post.
I have written a patch for this as a stand alone module but I think it would be better to be part of the advanced forums module as if expire is not installed the hook will have no effect.
Patch incoming.
Comment | File | Size | Author |
---|---|---|---|
#1 | 2093989.patch | 2.34 KB | JeremyFrench |
Comments
Comment #1
JeremyFrench CreditAttribution: JeremyFrench commentedPatch attached.
Comment #2
podarokCan You provide steps for testing or some tests with and without patch?