[serendipity-cvs] [s9y/Serendipity] 5077c1: Maintenance action clear template cache -> clear a...
onli via php-blog-cvs <[email protected]> Wed, 11 Mar 2026 04:28:04 -0700
| Newsgroups | gmane.comp.serendipity.cvs |
|---|---|
| Message-ID | <s9y/Serendipity/push/refs/heads/master/[email protected]> |
Branch: refs/heads/master
Home: https://github.com/s9y/Serendipity
Commit: 5077c11768e7974974089289799a3877a106f0bc
https://github.com/s9y/Serendipity/commit/5077c11768e7974974089289799a3877a106f0bc
Author: onli <[email protected]>
Date: 2026-03-11 (Wed, 11 Mar 2026)
Changed paths:
M docs/NEWS
M include/admin/maintenance.inc.php
M lang/UTF-8/serendipity_lang_de.inc.php
M lang/UTF-8/serendipity_lang_en.inc.php
M lang/serendipity_lang_de.inc.php
M lang/serendipity_lang_en.inc.php
M templates/2k11/admin/maintenance.inc.tpl
Log Message:
-----------
Maintenance action clear template cache -> clear also s9y cache (#954)
* Maintenance action clear template cache -> clear also s9y cache
The maintenance action to clear the template cache could be misleading when the internal cache was activated, since changes would be delayed.
This also moved the maintenance code path to a POST action, so it won't be triggered by accident by browser preloading sites. And instead of only deleting some cache files of the current active theme it now deletes all smarty cache files - the argumentation that this would lead to a high memory consumption later when caches for e.g. the gravatar plugin are renewed is not correct anymore, since those caches are not managed by smarty (and smarty won't delete them).
Closes https://github.com/s9y/Serendipity/issues/910
* minor: fix typo
* document changes
To unsubscribe from these emails, change your notification settings at https://github.com/s9y/Serendipity/settings/notifications