From e0b5dd2bb2fa6242661c5e75a3f9e48b3c4942c4 Mon Sep 17 00:00:00 2001 From: AtaS Date: Sun, 15 Oct 2023 12:02:55 +0100 Subject: [PATCH] . --- README.md | 7 +------ system/cachingUtils.php | 2 +- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 956a6c2..c271cd8 100644 --- a/README.md +++ b/README.md @@ -107,13 +107,8 @@ Then create a pull request from `updates-from-upstream` branch to `main` branch ## Future Plans -### Caching Markdown files for performance in local env - -Caching for page and post Markdowns in local environment will be added, so that the local dev env is always fast to -navigate between urls, regardless of how many markdowns are there. - ### Pagination for posts I am a fan of continuous scrolling and not numbered pages. We can implement continuous scrolling on the homepage but I can't imagine if it can be helpful for sites with less than 100 posts. Even after 100 posts, it should not -be a big problem for the page to be rendered. I am open for suggestions though. \ No newline at end of file +be a big problem for the page to be rendered. I am open for suggestions though. diff --git a/system/cachingUtils.php b/system/cachingUtils.php index ad79145..c6f5869 100644 --- a/system/cachingUtils.php +++ b/system/cachingUtils.php @@ -18,7 +18,7 @@ function findMostRecentlyUpdatedFile($dir) { } /* - * TODO: This function needs refactoring and needs to be a class. + * TODO: This function needs refactoring, should be a class, and needs tests. * @return Post[] */ function updateAndGetCachedPostList(): array