Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

There's a large amount of code around this. I'm suggesting we remove the 2nd cache state machine, and reduce the (fairly large) number of URL objects stored. Instead, we store a single INK_MD5 for the cache key, and keep it updated through the state-machine as well as via APIs. I will also provide benchmarks on the effects of this once completed, but we have some anecdotal evidence how expensive modifying the cache key is today via the current API.

We should also investigate how the existing cache key (TSCacheKey, for non-HTTP caches) can possibly interact with this.