datasette-media icon indicating copy to clipboard operation
datasette-media copied to clipboard

Do something smart with etags

Open simonw opened this issue 4 years ago • 0 comments

If a database column stores md5 could I combine that with the resize query string parameters and support conditions GET, hence avoiding a resize operation?

Are CDNs smart enough to make conditional GET requests?

Could I avoid even loading the content BLOB in the SQL query if an incoming stag is present, unless it's a miss?

simonw avatar Jul 27 '20 17:07 simonw