esmero / strawberryfield

A Field of strawberries
GNU Lesser General Public License v3.0
10 stars 5 forks source link

ISSUE-257: Humble (and experimental) attempt at dealing with stale/missing excerpts #258

Closed DiegoPino closed 1 year ago

DiegoPino commented 1 year ago

See #257

... on GET calls. This enables a new config option for our advanced highlighter and enables a very experimental lazy loading mechanism when needed, allowing still POST calls to get around the fact that they are "barely" cached... (except at the Views level, but we don't mess with that right? :( Also this whole day could have been a cache time set to 0 .... but i like people...

To be honest, I feel this is over engineered... I understand the use case and the need and I might develop this better/further soon. I don't know if even caching this beyond time to live 0 is more performant or not

DiegoPino commented 1 year ago

This requires https://github.com/esmero/format_strawberryfield/issues/287 to see it in action, but won't fail if not merged