You have been redirected from an outdated version of the article. Below is the content available on this topic. To view the old article click here.

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.

Search results for "Caching"

Database Configuration

The Database Configuration Settings tab contains settings related to the established database connections of a Structr instance. In contrast to the Database Connections Settings, the Database Configuration Settings control properties of the database connection itself, such as caching, debugging, synchronization and result sizes. This section is divided into the following subsections: