Strict Standards: Declaration of action_plugin_dlcount::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/dlcount/action.php on line 14

Strict Standards: Declaration of action_plugin_indexmenu::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/indexmenu/action.php on line 169

Strict Standards: Declaration of action_plugin_ipban::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/ipban/action.php on line 67

Strict Standards: Declaration of action_plugin_loglog::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/loglog/action.php on line 82

Strict Standards: Declaration of action_plugin_navi::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/navi/action.php on line 46

Strict Standards: Declaration of action_plugin_uparrow::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/uparrow/action.php on line 69

Strict Standards: Declaration of action_plugin_userspagecreate::register() should be compatible with DokuWiki_Action_Plugin::register($controller) in /home/www/wiki/lib/plugins/userspagecreate/action.php on line 97

Strict Standards: Declaration of cache_instructions::retrieveCache() should be compatible with cache::retrieveCache($clean = true) in /home/www/wiki/inc/cache.php on line 289

Warning: Cannot modify header information - headers already sent by (output started at /home/www/wiki/lib/plugins/dlcount/action.php:14) in /home/www/wiki/inc/auth.php on line 312

Strict Standards: Only variables should be passed by reference in /home/www/wiki/doku.php on line 71

Warning: Cannot modify header information - headers already sent by (output started at /home/www/wiki/lib/plugins/dlcount/action.php:14) in /home/www/wiki/inc/actions.php on line 154
Antwort-Header: Cache [phpwcms-HowTo:wiki]

Strict Standards: Declaration of syntax_plugin_code::render() should be compatible with DokuWiki_Syntax_Plugin::render($format, &$renderer, $data) in /home/www/wiki/lib/plugins/code/syntax.php on line 41

Strict Standards: Declaration of syntax_plugin_tip::render() should be compatible with DokuWiki_Syntax_Plugin::render($format, &$renderer, $data) in /home/www/wiki/lib/plugins/tip/syntax.php on line 38

Antwort-Header: Cache

Verhalten der Cache Einstellungen in der conf.inc.php auf den Antwort-Header (Response Header).

Datei: config/phpwcms/conf.inc.php


Seitenweit:

$phpwcms['cache_enabled'] = 0;    // Cache ausgeschaltet
 
$phpwcms['cache_timeout'] = 0;     // Response-Header: -> "Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0" und "Pragma = no-cache"
$phpwcms['cache_timeout'] = 14400; // Response-Header: -> "Cache-Control: public, max-age=14400" und "Pragma = public"

Der blinden Schalter Cache:[x] im Artikelkopf hat keine Auswirkung.


Artikelbezogen:

$phpwcms['cache_enabled'] = 1;           // Cache eingeschaltet
$phpwcms['cache_timeout'] = 14400;       // Irgendein Wert > 0

Aktiviert den blinden Schalter Cache:[x] im Artikelkopf nur wenn $phpwcms['cache_timeout'] ein Wert > 0 enthält.
So kann der Response-Header gezielt für jede/n Artikel/Kategorie gesteuert werden.


deutsch/technik/tips/cache-response-header.txt · Last modified: 2010/03/17 09:52 by Knut Heermann (flip-flop)
www.planmatrix.de www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0

Strict Standards: Only variables should be passed by reference in /home/www/wiki/doku.php on line 79