Skip to content

A Dokuwiki plugin to make the cache stale by touching configuration files

License

Notifications You must be signed in to change notification settings

ComboStrap/stale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

5976acf · Jun 3, 2023

History

21 Commits
Feb 20, 2023
Apr 8, 2021
Apr 8, 2021
Sep 1, 2021
Apr 10, 2021
Apr 8, 2021
Sep 1, 2021
Feb 20, 2023
Sep 1, 2021
Sep 1, 2021
Jun 3, 2023
Feb 20, 2023
Apr 8, 2021
Sep 4, 2021
Apr 8, 2021

Repository files navigation

Stale Plugin - Making your Dokuwiki Cache Stale

About

Stale is a DokuWiki Plugin that aims to delete or make all DokuWiki Cache stale.

For this purpose, it will :

  • touches all configuration files (ie change only the modified date, not the content) in order to make the rendering cache stale (ie HTML,...)
  • delete the sitemap file if present.

Configuration file touched

The following configuration files are touched:

Note that the plugins that are using the cache system, must make the cache dependent of their info file to get the cache stale

Why ? Because these files are cache dependencies and if touched will then prohibit the use of the cache by the next request.

How to stale ?

You can stale the cache:

Release

  • 2023-02-20:
    • Touch the main configuration file conf\dokuwiki.php to delete the cache for Geshi
  • 2021-09-04:
    • As per request 2, Make the cache stale, reload the page and shows the feedback
  • 2021-09-01:
  • 2021-08-30:
    • The stale menu item is now a website item
    • The action label is more clear and was added as language reference
  • 2021-08-04:
    • First release

Reference

Based on the dead plugin toucher idea.

About

A Dokuwiki plugin to make the cache stale by touching configuration files

Resources

License

Stars

Watchers

Forks

Packages

No packages published