ConditionalHeaders

class ConditionalHeaders

A plugin that avoids sending the body of content if it has not changed since the last request.

Types

Link copied to clipboard
class Configuration

A configuration for the ConditionalHeaders plugin

Link copied to clipboard

ApplicationPlugin implementation for ConditionalHeaders

Functions

Link copied to clipboard
suspend fun versionsFor(content: OutgoingContent): List<Version>

Retrieves versions such as LastModifiedVersion or EntityTagVersion for a given content