Stellarium  0.90.0
List of all members | Public Attributes
StaticFileControllerSettings Struct Reference

Contains all the settings for the StaticFileController. More...

#include <staticfilecontroller.h>

Public Attributes

QString path
 The path to the document root. More...
 
QString encoding
 The assumed encoding of textual files (txt, html). More...
 
int maxAge
 Maximum age of files in the browser cache (HTTP Cache-Control: max-age), in seconds. More...
 
int cacheTime
 Maximum age of files in the serverside cache (in msec). More...
 
int cacheSize
 Total serverside cache size in bytes. More...
 
int maxCachedFileSize
 Maximum size of a single file in the serverside cache. More...
 

Detailed Description

Contains all the settings for the StaticFileController.

Definition at line 20 of file staticfilecontroller.h.

Member Data Documentation

int StaticFileControllerSettings::cacheSize

Total serverside cache size in bytes.

Default 1048576 (1MB)

Definition at line 35 of file staticfilecontroller.h.

int StaticFileControllerSettings::cacheTime

Maximum age of files in the serverside cache (in msec).

Default 60000.

Definition at line 33 of file staticfilecontroller.h.

QString StaticFileControllerSettings::encoding

The assumed encoding of textual files (txt, html).

Default UTF-8

Definition at line 29 of file staticfilecontroller.h.

int StaticFileControllerSettings::maxAge

Maximum age of files in the browser cache (HTTP Cache-Control: max-age), in seconds.

Default 60.

Definition at line 31 of file staticfilecontroller.h.

int StaticFileControllerSettings::maxCachedFileSize

Maximum size of a single file in the serverside cache.

Default 65536 (64KB)

Definition at line 37 of file staticfilecontroller.h.

QString StaticFileControllerSettings::path

The path to the document root.

Default empty (= current working directory).

Definition at line 27 of file staticfilecontroller.h.


The documentation for this struct was generated from the following file: