Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
atas committed Oct 15, 2023
1 parent 90e107b commit e0b5dd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
7 changes: 1 addition & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
be a big problem for the page to be rendered. I am open for suggestions though.
2 changes: 1 addition & 1 deletion system/cachingUtils.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e0b5dd2

Please sign in to comment.