akileez / rendr

A personal static site generator
ISC License
2 stars 0 forks source link

build cache for modules/pages #3

Closed akileez closed 9 years ago

akileez commented 9 years ago

pre-requirements:

akileez commented 9 years ago

algo:

maintenance:

benefits:

akileez commented 9 years ago

fileTree will be the glue process between the two separate namespaced caches.

fileTree process cannot be change after all. if using two separate namespace caches, template files must be able to access names in page cache. we can do this via fileTree.

Middleware helpers will take path as source (present operation), normalize path to keyValue name in page cache then read said key from the cache.

akileez commented 9 years ago

alternative is to just attach the page cache to the global cache and call it a day.

akileez commented 9 years ago

base implementation working in test. attached page cache to global cache. need to do a clean up of the code

akileez commented 9 years ago
akileez commented 9 years ago
akileez commented 9 years ago

process complete. move into repo later.

akileez commented 9 years ago

done. https://github.com/akileez/rendr/commit/2505ea3caa51c9266f4f908a4452cfb184e5da14