Skip to content
This repository was archived by the owner on Nov 24, 2025. It is now read-only.
This repository was archived by the owner on Nov 24, 2025. It is now read-only.

Make ORT sort regex_revalidate.config by Time then URL #5024

@rob05c

Description

@rob05c

The regex_revalidate.config looks like http://url unix-timestamp, and it's sorted alphabetically, which ends up being a pain to try to find things in.

It should be changed to sort by the time, and then by URL. That will be drastically easier for operators to work with.

I'm submitting a ...

  • improvement request (usability, performance, tech debt, etc.)

Traffic Control components affected ...

  • Traffic Ops ORT

Current behavior:

ORT config gen (atstccfg/atscfg) sorts regex_revalidate alphabetically.

Expected / new behavior:

ORT config gen (atstccfg/atscfg) sorts regex_revalidate by timestamp, then alphabetically.

Minimal reproduction of the problem with instructions:

Generate config. Observe sorted by URL, not timestamp.

Anything else:

Metadata

Metadata

Assignees

Labels

cache-configCache config generationnew featureA new feature, capability or behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions