searx-space
searx-space copied to clipboard
WIP [enh] output website: javascript is not mandatory
The --output parameter new references a directory.
Clearly unfinished. The html directory will be removed once finished.
Framework:
- ~~use Jinja2~~
- use referenced static files include sha256, so a new version is reloaded (can support subresource integrity not sure if it creates more problem than it helps)
- create .br files (compressed with brotli), so the web server can serve these files directly.
Will fix https://github.com/dalf/searx-stats2/issues/9
Update:
- will use preact with pre-rendering
- one implementation.
- the pages are prerendered can be seen without javascript.
- when there is javascript, filters / sort order can work.
In case preact doesn't fit:
- https://vuejsdevelopers.com/2017/04/01/vue-js-prerendering-node-laravel/
- https://dev.to/veebuv/5-extremely-easy-ways-to-drastically-improve-your-vuejs-app-s-speed-5k0
- https://purecss.io/