🎉 Add thumbnail caching.

Avoid unnecesary rendering unchanged pages.
This commit is contained in:
Andrey Antukh 2021-03-05 17:31:26 +01:00
parent 9d7214702f
commit 146394f3ca
2 changed files with 14 additions and 6 deletions

View file

@ -166,7 +166,6 @@
(let [file (retrieve-file conn file-id)]
(get-in file [:data :pages-index id]))))
;; --- Query: Shared Library Files
(def ^:private sql:shared-files