If you use the purgely_surrogate_control filter to alter the TTL for an individual page, the value never gets applied. It changes the $seconds value, but unfortunately, that value is never used.
I think we will need something like the following to get the value applied:
If you use the
purgely_surrogate_control
filter to alter the TTL for an individual page, the value never gets applied. It changes the $seconds value, but unfortunately, that value is never used.I think we will need something like the following to get the value applied:
This sets the seconds, prepares the value, and sets the value.