From af2c4a06350830c2f82253bcb3de8d960d242f98 Mon Sep 17 00:00:00 2001 From: Roan Horning Date: Fri, 30 Sep 2022 13:45:19 +0000 Subject: [PATCH] Update 'Towards 1.0 Milestone' --- Towards-1.0-Milestone.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 Towards-1.0-Milestone.md diff --git a/Towards-1.0-Milestone.md b/Towards-1.0-Milestone.md new file mode 100644 index 0000000..d2089eb --- /dev/null +++ b/Towards-1.0-Milestone.md @@ -0,0 +1,6 @@ +# What do we need to get there? +What are all the components needed to move main HPR website to be statically generated? + +* Should we initially have the static generator work using the MySQL DB? This would involve a minimal amount of work changing the SQL used in the templates. +* Do we just regenerate the whole site on every update? This is the simpliest approach, but does regenerate a bunch of pages that will never be touched. It does take much more time than a targeted update, and grows in time with each episode. It also puts more wear and tear on the underlying hard drives. +* What PHP code needs to be updated during the cross-over? Initially the plan is to keep the same PHP code used for uploading episodes. Do we add new triggers in the PHP code to update pages when the change occurs or update from a cron job that is run periodically? For example, when a comment is made on a show, should that page, along with the index page get updated immediately, or is delay acceptable? \ No newline at end of file