Commit Graph

9 Commits

Author SHA1 Message Date
Lacey Williams Henschel
d6563e6965 Add task to save rendered content to db; call tasks on delay 2023-07-03 13:19:55 -07:00
Lacey Williams Henschel
99e1c46d8e Delete content by cache key from redis and db 2023-06-27 15:25:56 -07:00
Lacey Williams Henschel
a06d9856c0 Add task to clear all rendered content cache 2023-06-27 15:25:56 -07:00
Lacey Williams Henschel
aa0bab9b89 Delete RenderedContent objects by content type 2023-06-27 15:25:56 -07:00
Lacey Williams Henschel
825dbc019b Cache asciidoc content in db (Part of #394)
- Add RenderedContent model and related helper methods
- Change StaticContentView `get()` logic to try the cache, then the db, then S3
- Change StaticContentView to update db appropriately
- Refactoring for readability/maintainability
2023-06-09 14:43:05 -07:00
Lacey Williams Henschel
b183c5bf44 Add option to delete temp file 2023-06-06 11:14:50 -07:00
Lacey Williams Henschel
624cbe6525 Serve asciidoc content from template, refactor tests 2023-06-06 11:14:50 -07:00
Lacey Williams Henschel
60713d0c37 Return converted html from task 2023-06-06 11:14:50 -07:00
Lacey Williams Henschel
e3f37294aa Add celery task to convert adoc to html 2023-06-06 11:14:50 -07:00