Skip to content

regex_revalidate: optionally retain rule epoch state across restarts#7939

Merged
traeak merged 1 commit intoapache:masterfrom
traeak:rr_reload
Jun 17, 2021
Merged

regex_revalidate: optionally retain rule epoch state across restarts#7939
traeak merged 1 commit intoapache:masterfrom
traeak:rr_reload

Conversation

@traeak
Copy link
Copy Markdown
Contributor

@traeak traeak commented Jun 11, 2021

With this --state-file/-f option defined the regex_revalidate plugin will write out the current loaded ruleset with included epoch rule epoch time.

When ats is restarted the regex_revalidate plugin will load the regex_revalidate.config file, load this state file, update the epoch time of any matching rule, then immediately write out a new state file.

Every time the regex_revalidate.config file is reloaded a new state file will be generated.

This has been added to counteract any ill affects of using the new regex_revalidate MISS type (marking an asset as MISS instead of the default STALE).

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants