Caching
There are different levels of page caching in Structr:
Not modified
When accepting a page request, Structr analyzes the HTTP header field Not-Modified-Since
and compares the date to the modification date of a page in the database. If there’s no new version of a page which is younger than the requested date, Structr will just return a 304
status code. If no new version is found, it will render the entire page and return it to the client with a 200
status code.
The version
parameter of a page will automatically be updated if a part of the page graph changes.
Static caching
Structr can also cache pages for a fixed number of seconds configured by the cacheForSeconds
parameter.
Disable caching
If the dontCache
parameter is set, Structr will always render the page at access time.