Block a user
CacheControl improvement - don't cache error responses
Add configurable Cache-Control headers for statics, files, and API
Implement non-locking database
Working much better, and I've learned a lot about configuring SQLite. Job done.
Batch scan writes into transactions instead of one per file
Honestly, TIL. I thought rollbacks had to be handled in a separate control path. This is so much better. Thanks.
Batch scan writes into transactions instead of one per file
Just for my edification, is it a safe pattern to defer tx.Rollback()? Is this implicitly ignored if the transaction is successfully committed first?
Tune SQLite connection: WAL mode, busy_timeout, single writer
This seems like it will break if the SQLite path includes a query string - please harden
Implement non-locking database
I was extremely tired when I wrote this last night, and it's useful to take a step back and look at the SQLite tuning itself. I forgot that the rescan was happening on every write.
Go ahead…
QOL patch: only show filenames
QOL patch: only show filenames