Reference

Cached views

A view's HTML depends on its arguments and on the global variables it reads. When a view is called again with the same arguments, and none of those globals has been assigned since, Quillo reuses the HTML it rendered last time instead of running the view again. A page made of views is then served about as fast as a static file (the 50-row benchmark page goes from about 26,000 to 84,000 pages a second), and is still up to date the moment something it shows changes.

Thread
10Useful? Like it, or add to its thread below.

Thread 0 posts

On Cached views: questions, tips, corrections, and code that uses it.

No posts yet. The first one opens the thread.

    Edit this page on GitHub · made from the user guide · questions on Discord or r/quillo