There are reports by different users in dewiki, that the TOC is sometimes missing on pages, though it should be present. The TOC appears after purging, so it seems that in some cases a version where the TOC is missing for whatever reason is cached.
I could reproduce this with https://de.wikipedia.org/wiki/Herbert_Backe:
Before purging with missing TOC:
<div id="mw-content-text" dir="ltr" class="mw-content-ltr" lang="de"> <div class="mw-parser-output"> <div class="thumb tright">...</div> <p>(First paragraph of lead)</p> <p>(Second paragraph of lead)</p> <p></p> <h2>...</h2> ... <!-- NewPP limit report Parsed by mw1304 Cached time: 20170609222315 Cache expiry: 2592000 Dynamic content: false CPU time usage: 0.236 seconds Real time usage: 0.290 seconds Preprocessor visited node count: 2697/1000000 Preprocessor generated node count: 0/1500000 Post‐expand include size: 36322/2097152 bytes Template argument size: 8114/2097152 bytes Highest expansion depth: 14/40 Expensive parser function count: 1/500 Lua time usage: 0.039/10.000 seconds Lua memory usage: 2.15 MB/50 MB --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 213.924 1 -total 27.26% 58.311 1 Vorlage:BibISBN 19.59% 41.900 1 Vorlage:BibISBN/3100910524 18.92% 40.473 1 Vorlage:BibRecord 16.59% 35.500 1 Vorlage:BibRecord/Literatur 14.99% 32.076 1 Vorlage:Literatur 8.20% 17.550 1 Vorlage:Commonscat 5.60% 11.974 1 Vorlage:Exzellent 4.91% 10.505 1 Vorlage:NaviBlock 4.32% 9.245 1 Vorlage:NDB --> </div> <!-- Saved in parser cache with key dewiki:pcache:idhash:525037-0!canonical and timestamp 20170609222315 and revision id 164319958 --> </div>
After purging (with TOC):
<div id="mw-content-text" dir="ltr" class="mw-content-ltr" lang="de"> <div class="mw-parser-output"> <div class="thumb tright">...</div> <p>...</p> <p>....</p> <p></p> <div id="toc" class="toc">...</div> <p></p> <h2>...</h2> ... <!-- NewPP limit report Parsed by mw1241 Cached time: 20170616073144 Cache expiry: 2592000 Dynamic content: false CPU time usage: 0.240 seconds Real time usage: 0.286 seconds Preprocessor visited node count: 2697/1000000 Preprocessor generated node count: 0/1500000 Post‐expand include size: 36322/2097152 bytes Template argument size: 8114/2097152 bytes Highest expansion depth: 14/40 Expensive parser function count: 1/500 Lua time usage: 0.040/10.000 seconds Lua memory usage: 2.15 MB/50 MB --> <!-- Transclusion expansion time report (%,ms,calls,template) 100.00% 205.666 1 -total 27.64% 56.842 1 Vorlage:BibISBN 19.86% 40.849 1 Vorlage:BibISBN/3100910524 19.34% 39.785 1 Vorlage:BibRecord 16.85% 34.659 1 Vorlage:BibRecord/Literatur 15.61% 32.109 1 Vorlage:Literatur 10.05% 20.661 1 Vorlage:Commonscat 5.28% 10.860 1 Vorlage:NaviBlock 4.78% 9.821 1 Vorlage:Exzellent 4.17% 8.566 8 Vorlage:Zitat --> </div> <!-- Saved in parser cache with key dewiki:pcache:idhash:525037-0!canonical and timestamp 20170616073144 and revision id 164319958 --> </div>
More examples (though most of them already have the TOC back):
- https://de.wikipedia.org/wiki/Wikipedia:Fragen_zur_Wikipedia#Inhaltsverzeichnis (first report, from June 9)
- https://de.wikipedia.org/wiki/Wikipedia:Fragen_zur_Wikipedia#fehlendes_Inhaltsverzeichnis
- https://de.wikipedia.org/wiki/Wikipedia:Fragen_zur_Wikipedia#Automatisches_Inhaltsverzeichnis
- https://de.wikipedia.org/wiki/Wikipedia:Fragen_zur_Wikipedia#Inhaltsverzeichnis_im_Artikel