Documentation ¶
Overview ¶
Package cachemode provides ways to deal with different cache modes
Index ¶
Constants ¶
View Source
const ( Unset = iota // cache mode has not been set On // cache everything Development // cache everything, except Amber, Lua, GCSS and Markdown Production // cache everything, except Amber and Lua Images // cache images (png, jpg, gif, svg) Small // only cache small files (<=64KB) // 64 * 1024 Off // cache nothing Default = On )
Possible cache modes
Variables ¶
View Source
var Names = map[Setting]string{ Unset: "unset", On: "On", Development: "Development", Production: "Production", Images: "Images", Small: "Small", Off: "Off", }
Names is a map of cache mode setting string representations
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.