[dokuwiki] Re: Media or Cache
- From: Anika Henke <a.c.henke@xxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Fri, 27 Jul 2007 21:07:02 +0200
Jason Grout wrote:
Anika Henke wrote:
I put the images into a special folder in the media folder
(media/plugin_abc) and further divided into their according
namespaces. But each image has a (more or less unique) name, which
stays the same name when re-generated (which is differently from the
Graphviz plugin)! It gets simply overwritten.
How do you handle when one person looks at a previous version of the
page while another person looks at the current version? How does the
previous version of a generated image be seen and the current version be
seen, at the same time?
Good question! ;-)
I decided against showing any image at all in previous versions, I
simply render the source with $renderer->file().
But as displaying the images is more important when previewing the page,
I simply put an "x" in front of each image (which, in my case, otherwise
always begin with a number). Normally, there cannot be more than one
person previewing the page.
So, the maximum number of images generated from one source is two. One
for "show" and one for "preview" mode.
Anika
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: Media or Cache
- From: Tankko
- References:
- [dokuwiki] Media or Cache
- From: Tankko
- [dokuwiki] Re: Media or Cache
- From: Tankko
- [dokuwiki] Re: Media or Cache
- From: Anika Henke
- [dokuwiki] Re: Media or Cache
- From: Jason Grout
Other related posts:
- » [dokuwiki] Media or Cache
- » [dokuwiki] Re: Media or Cache
- » [dokuwiki] Re: Media or Cache
- » [dokuwiki] Re: Media or Cache
- » [dokuwiki] Re: Media or Cache
- » [dokuwiki] Re: Media or Cache
Anika Henke wrote:
I put the images into a special folder in the media folder (media/plugin_abc) and further divided into their according namespaces. But each image has a (more or less unique) name, which stays the same name when re-generated (which is differently from the Graphviz plugin)! It gets simply overwritten.
- [dokuwiki] Re: Media or Cache
- From: Tankko
- [dokuwiki] Media or Cache
- From: Tankko
- [dokuwiki] Re: Media or Cache
- From: Tankko
- [dokuwiki] Re: Media or Cache
- From: Anika Henke
- [dokuwiki] Re: Media or Cache
- From: Jason Grout