DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:mediacacheconfig

Media-Cache Configuration Plugin

Compatible with DokuWiki

Frusterick Manners

plugin Allows the configuration default caching behavior for media files

Last updated on
2018-01-10
Provides
Action
Repository
Source

This extension has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues.

Tagged with caching, media

Installation

Search and install the plugin using the Extension Manager. Refer to Plugins on how to install plugins manually.

Usage

By DokuWiki default, all media files are cached for at least one hour or what is specified in cachetime, whichever is higher. This behavior can be modified with the recache and nocache parameters in page's syntax.

This plugin alters the default behavior (i.e. if neither recache nor nocache has been specified) to act as if nocache has been specified in the syntax.

This plugin maybe useful if you media files change often and it's important that your users see the new version right away. However using this plugin may cause a performance hit, because the server has to be contacted for every media-file every time.

Configuration and Settings

  • always-validate – unchecking this effectively deactivates the plugin
  • more configuration options may be added in the future

Development

Change Log

Releases:

  • 2018-01-10 by micgro42
    feat: validate the cache for media files on each request
plugin/mediacacheconfig.txt · Last modified: 2018-05-28 21:31 by Klap-in

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki