[dokuwiki] Passing links to images through without pefetching

  • From: Dmitry Katsubo <dma_k@xxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Thu, 1 Jul 2010 18:55:52 +0200

Dear dokuwiki users!

I have noticed, that even when the image which is embedded into the page
does not contain tricks, the image is anyway fetched through
"lib/exe/fetch.php" script. Isn't is logical to add a rule, that if a
link is direct, put a direct link to the resulting HTML? I understand
that in case when resizing is requested, the image should go through the
server, but in the simple case (when no postprocesing is required) just
return a link to the browser.

Currently the proxy has to fetch the image each time on request.
Thank you for any suggestions in advance.

Example:

{{http://my.com/images/panasonic.gif}}
  -- is convered to -->
<img src="http://my.com/images/panasonic.gif"; />
  -- but not to -->
<img src="lib/exe/fetch.php?hash=...panasonic.gif" />

-- 
With best regards,
Dmitry
-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts: