[dokuwiki] Re: Updated server to SSL lost first heading as page name
- From: Chris Smith <chris@xxxxxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Thu, 21 Sep 2006 15:59:25 +0100
Chris Smith wrote:
The first heading is only used if its available at the time the page
is rendered. Although you expired the cache, DokuWiki doesn't do a
fresh parse of a page to get the first heading. If cached
instructions aren't available, it'll use the raw page name. What you
are seeing as inconsistent, is due to the order you have visited pages
after expiring the cache.
more...
If the rendered page is cached with the raw page name, then it'll stay
that way until the cache is refreshed. Links in the "chrome" (e.g.
breadcrumbs) are not cached, so will go to a first heading as soon as
the first heading is available in the instruction cache (or metadata).
Expiring the cache by touching local.php isn't the best way to handle
this. Once you have visited many pages, touch inc/parser/xhtml.php.
That should expire the xhtml cache but not the instruction cache.
I was incorrect in what I said above, regarding metadata being generated
if it didn't exist for the target page when requesting a first heading.
So the same problem may continue to exist in the devel version. Though
it should have far less impact as metadata should always exist and
should always be current with the rendered version of that particular page.
Cheers,
Chris
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- References:
- [dokuwiki] Updated server to SSL lost first heading as page name
- From: Shawn Plummer
- [dokuwiki] Re: Updated server to SSL lost first heading as page name
- From: Chris Smith
Other related posts:
- » [dokuwiki] Updated server to SSL lost first heading as page name
- » [dokuwiki] Re: Updated server to SSL lost first heading as page name
- » [dokuwiki] Re: Updated server to SSL lost first heading as page name
- » [dokuwiki] Re: Updated server to SSL lost first heading as page name
The first heading is only used if its available at the time the page is rendered. Although you expired the cache, DokuWiki doesn't do a fresh parse of a page to get the first heading. If cached instructions aren't available, it'll use the raw page name. What you are seeing as inconsistent, is due to the order you have visited pages after expiring the cache.
- [dokuwiki] Updated server to SSL lost first heading as page name
- From: Shawn Plummer
- [dokuwiki] Re: Updated server to SSL lost first heading as page name
- From: Chris Smith