This is a static dump of issues in the old "Flyspray" bugtracker for DokuWiki. Bugs and feature requests
are now tracked at the issue tracker at Github.
Closed
Not a bug
FS#656 Cache filename are host specific
Backend
2005-12-02pxptron
It seems that the generation of cachefile names is specific the the hostname and port of the webserver.
so when making the same dokuwiki reachable under different urls, every hostname generates a seperate cachefile for the same page.
the problem is, that cache clearing is only done for the hostname's cache files your browser is currently connected to. other cache versions of the same page are not purged then.
2006-03-21btcoburn
p_cached_xhtml($file) in inc/parserutils.php does indeed use the host and port in naming the cached file...
getCacheName($file.$_SERVER['HTTP_HOST'].$_SERVER['SERVER_PORT'],'.xhtml');
(as of 2006-03-20).
I assume this was done to ensure that the cache would be refreshed when a dokuwiki instance was ftp'd to another server even if the modification times are not preserved. Unless there was another reason, this is probably not necessary as the cache will get refreshed anyway after $conf['cachetime'] has passed.