[dokuwiki] extern code cache

  • From: Robin Gareus <robin@xxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Wed, 27 Aug 2008 02:29:16 +0200

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

I'm using http://www.dokuwiki.org/plugin:code2
<code>
extern>URL
</code>
which works great to display/highlight code snippets.

However, since the external file is cached with the page, it does not
integrate smoothly with URLs from source-repositories. I tried
~~NOCACHE~~ to no avail; I can also go to //Edit// and back: //Preview//
shows the new extern-file; but If I don't change the wiki-page itself
the cached version will be displayed again after saving.
'?purge=true' works. (yesterday's dokuwiki darcs, and latest
http://dev.mwat.de/dw/syntax_plugin_code.zip )

Does anyone experience the same problem? any Ideas?

I was thinking to add a post-commit-hook to the [git]repository that
will flush the dokuwiki-cache for a specific namespace or page. - Does
anyone use a setup like this?

robin
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAki0n9kACgkQeVUk8U+VK0I4yACeJ9F4/Ogg2mnU9XK+brsySMi+
/MgAoKb63UcXowlTputmlGx4pErfYHJh
=RV7k
-----END PGP SIGNATURE-----
-- 
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts:

  • » [dokuwiki] extern code cache