Commit Graph

12 Commits

Author SHA1 Message Date
FoxxMD 1e3c6597d4 Lazy load tile and entity background images
CSS 'background-image:url' causes the browser to synchronously load images which prevents DOM from fully loading.
Replace this with lazyload.js to make
   * js load style=background-image... after DOM is loaded and
   * only load images in viewport

The end result is much faster *apparent* page loads as all DOM is loaded before images and a reduction in load for both client/server as images are only loaded if they become visible.
2023-03-16 15:01:54 -04:00
krateng 938947d06c Added indicator for empty tile stats, fix GH-134 2022-04-25 17:55:46 +02:00
krateng 9f8e691924 Moved image handling to top level module 2022-03-27 22:02:24 +02:00
krateng 66bd69b49e Reworked image proxying / caching 2022-03-26 05:49:30 +01:00
krateng 65f3dac40a WHAT THE F*CK AM I DOING 2022-02-26 21:30:06 +01:00
krateng cf43a9221a Switched image caching to SQL 2022-02-17 07:35:05 +01:00
krateng 86f8d5a3eb Cleanup 2021-12-11 04:56:53 +01:00
Krateng 26f6a1af58 Turned tiled charts into include 2020-09-02 14:03:03 +02:00
Krateng e27a83bdc9 Reduced excessive whitespaces in jinja output 2020-09-01 00:35:14 +02:00
Krateng f7ca7b0dc9 Replaced some old htmlgenerator calls with jinja macros 2020-08-31 21:11:57 +02:00
Krateng a5edc113c8 Removed non-jinja support 2020-08-30 19:02:48 +02:00
Krateng bc5f11d499 Implemented tiled charts for jinja 2020-08-27 17:26:56 +02:00