Overview
Comment: | Update code docs to reflect [47d9eea54] |
---|---|
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
b223c8a52b66243dd98268c73b0bbfad |
User & Date: | joel on 2020-02-20 08:30:06 |
Other Links: | manifest | tags |
Context
2020-02-21
| ||
22:43 | Build up listing schema, use for RSS feed ([2f082139]) check-in: d3755213 user: joel tags: trunk | |
2020-02-20
| ||
08:30 | Update code docs to reflect [47d9eea54] check-in: b223c8a5 user: joel tags: trunk | |
04:53 | Get rid of current-plain-title ([1909139d]) check-in: 47d9eea5 user: joel tags: trunk | |
Changes
Modified code-docs/crystalize.scrbl from [4df88301] to [ca8a0906].
︙ | |||
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 | + - + + + + - + + + - - - + + + + - + + | @(require (for-label "../pollen.rkt" "../crystalize.rkt" "../cache.rkt" racket/base racket/contract racket/string txexpr pollen/core pollen/pagetree)) @title[#:tag "crystalize-rkt"]{Crystalize} @defmodule["crystalize.rkt" #:packages ()] “Crystalizing” is an extra layer in between docs and templates that destructures the @tt{doc} and stores it in various pieces in a SQLite cache. Individual articles save chunks of rendered HTML to the cache when their individual pages are rendered. When pulling together listings of articles in different contexts that need to be filtered and sorted, a SQL query is much faster than trolling through the Pollen cache for matching docs and regenerating the HTML. @margin-note{These functions are designed to be used within the template for articles and series, respectively, so that the cache is updated precisely when the web page is rendered.} |