diff options
author | Ben Coburn <btcoburn@silicodon.net> | 2006-04-21 03:22:10 +0200 |
---|---|---|
committer | Ben Coburn <btcoburn@silicodon.net> | 2006-04-21 03:22:10 +0200 |
commit | 4f3c4962cebeec6b73456cbacbf7f219ccb90c85 (patch) | |
tree | 9acd8615a197a1be9f5c73ffdf637f8493fce7d8 /lib/scripts/events.js | |
parent | b1112787e60be712d508e80baaf0d6f9a861f0ac (diff) | |
download | rpg-4f3c4962cebeec6b73456cbacbf7f219ccb90c85.tar.gz rpg-4f3c4962cebeec6b73456cbacbf7f219ccb90c85.tar.bz2 |
bugfix fetch remote media (recache and nocache)
Fixes a major bug in fetching remote media with 'recache' and improves
the efficiency of 'nocache'.
Recache:
- Used to reload the remote media on EVERY request.
- Now it behaves as intended and only reloads the remote media
into the Dokuwiki cache every $conf['cachetime'] time.
Nocache:
- No longer stores remote media in the Dokuwiki cache.
- No longer loads, saves, and forwards remote media -- just redirects.
- No longer resizes images on the server because the cached results
can not be reused.
Overall this is faster for Dokuwiki. The bandwidth usage for
the 3rd party server is the same (less for Dokuwiki). Page loading
should also be faster because data is not being forwarded through
Dokuwiki (and the 3rd part server's cache control headers will be
respected automatically).
darcs-hash:20060421012210-05dcb-a6029baa0fad218ace28e0e3c2f442b1ca645a99.gz
Diffstat (limited to 'lib/scripts/events.js')
0 files changed, 0 insertions, 0 deletions