devpunks / snuggsi

snuggsi ツ - Easy Custom Elements in ~1kB

Home Page:https://snuggsi.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Validator (E-Tag and Last-Modified)

snuggs opened this issue · comments

@tmornini has expressed the importance of having E-Tags. I concur. I feel a small piece of Validator middleware is good enough. Although it is confusing of my existing definition of "Validation". but the specs never lie. Wondering if this is something where "Form validation" would go as well. But feels like more "cache validation" related. Which i'd rather have a bonafied Cache object (perhaps with a .validate (data) api. Ok I think I understand "Validator" better in the spec from writing it out. It's the "Valid" in Cache inVALIDation. /cc @brandondees.

https://tools.ietf.org/html/rfc7231#section-7.2