aboutsummaryrefslogtreecommitdiffstats
path: root/siteconfig.py
Commit message (Collapse)AuthorAgeFilesLines
* Caching support. Separate views.py in 2 filesmjfernez2021-10-101-9/+23
| | | | | | | | | | | This commit adds the Flask-Caching module to the software stack and enables the caching of views in a wide variety of ways, but implemented here to be simple to understand to someone new to the concept of caching (aka me). Various documentation and formatting was applied to all files. views.py internal functions (mostly related to filesystem operations of the server). have been moved into view_functions.py
* Adds gzip support by defaultmjfernez2021-10-061-6/+12
| | | | | | This commit adds Flask-Compress to the stack, an excellent module that makes the site load faster. This also adds and amends the default siteconfig
* Clarify siteconfigmjfernez2021-08-251-7/+13
| | | | | | | | | This clarifies what the MAIN_SITE_DIRS option means since one might read it to mean you can put your directories anywhere. Not so, you can only pick which dirs are displayed with that option. Also recommends to not use the secret key unless needed (for what reason, I don't know).
* wsgi compatibilitymjfernez2021-06-071-2/+0
| | | | | Moves the setup() function outside of main so the app is setup before a wrapper runs it. Also fixes deployment tutorial in the README
* first commitmjfernez2021-06-071-0/+21