removed unneeded ref to font-awesome, added compression, ttl for static files, several small cleanups on labels, etc. for lighthouse improvements

This commit is contained in:
2021-09-14 17:22:42 +10:00
parent 6e96c83d9e
commit 56f3853bfc
7 changed files with 34 additions and 24 deletions

11
TODO
View File

@@ -1,5 +1,11 @@
## GENERAL
* face locations -- START FORM SCRATCH for prod so all images have face_locn data
* get build process to create a random string for secret for PROD, otherwise use builtin for dev
* lighthouse -> leverage this for cache control for static...
https://www.kite.com/python/docs/flask.Flask.get_send_file_max_age
* comment your code
* html files?
* per file you could select an unknown face and add it as a ref img to an existing person, or make a new person and attach?
* from menu, we could try to get smart/fancy... say find face with largest size, check it vs. other faces, if it matches more than say 10? we offer it up as a required ref img, then cut that face (with margin) out and use it is a new ref image / person
@@ -7,8 +13,6 @@
https://www.pyimagesearch.com/2018/07/09/face-clustering-with-python/
* fix up logging in general
* comment your code
* html files?
## DB
* Dir can have date in the DB, so we can do Oldest/Newest dirs in Folder view
@@ -29,6 +33,7 @@
Admin
-> delete old jobs / auto delete jobs older than ???
-> do I want to have admin roles/users?
-> purge deleted files (and associated DB data)
### AI
* faces per file (need a threshold for too many? OR