Hi there, I've playing with the module, but I'm missing something: shouldn't the cache invalidation happen as soon as possible?
Consider a Drupal 8 website (with purge and http purger installed and configured), served by a reverse proxy server like Varnish with xkey mod.
In the current default setup of this module, when a business user/editor creates a new node, she needs to wait for either
a) page expired in Varnish because of max-age
b) cron runs (default is 3hrs), and purges Varnish with the tags
However, IMHO these options are far from ideal. I guess one could write a hook or configure a rule, to run the cron hook of this module, but shouldn't behavior be a default? And if not, what is the recommended way of dealing with this?
Thank you very much in advance,
Comments
Comment #2
davidwbarratt CreditAttribution: davidwbarratt at Golf Channel commentedI believe if you create/enable the "Late Runtime Processor" it should execute the purge on page load which is what you are looking for.
Comment #3
mariano.barcia CreditAttribution: mariano.barcia at ASM Web Services S.L. commentedHi David thank you very much, I've enabled the module and it seems to provide what I'm looking for.
However, I've yet to make it work, so I'm still testing. Supossing it works as intended, maybe adding it to the docs would be a good idea? Because "Late runtime processor" does not give an obvious idea of what the module actually provides...
Comment #4
MiSc CreditAttribution: MiSc at Wunder commentedThis seems to be fixed, so closing.
Comment #5
mariano.barcia CreditAttribution: mariano.barcia at ASM Web Services S.L. commentedJust to confirm that late runtime processor module does the trick. Thank you!