A service for generating small templated cover letters. https://undercover.sagev.space
Go to file
Sage Vaillancourt 7398773714 Cache the default rendered home page
A bit hacky, since CLForm can't seem to initialize properly without
being part of a request. To avoid a reference-before-assignment error,
the INDEX variable is first initialized as a global in __init__.py. But
it is definitely faster. Repeated renders take around 2ms each. Reading
the cached value takes about 0.002ms.

Also split index() into index_get() and index_post(), since GET calls
always use the cached version, and POST calls never do.
2021-07-31 23:21:59 -04:00
flaskr Cache the default rendered home page 2021-07-31 23:21:59 -04:00
writing_templates Fix file.write() and \company typos 2021-07-27 07:09:26 -04:00
.gitignore Git should ignore successful init file 2021-07-28 23:29:06 -04:00
init Compress pdf files before sending to end-user 2021-07-31 17:38:32 -04:00
latty.py Don't print compression command 2021-07-31 18:47:51 -04:00
requirements.txt Add pip requirements file 2021-07-25 13:54:50 -04:00
start Less annoying port number for prod 2021-07-31 18:38:01 -04:00
writing.py Cache the default rendered home page 2021-07-31 23:21:59 -04:00