[serendipity-cvs] [s9y/Serendipity] dfd172: Maintenance action clear template cache -> clear a...
onli via php-blog-cvs <[email protected]> Thu, 26 Feb 2026 02:56:27 -0800
| Newsgroups | gmane.comp.serendipity.cvs |
|---|---|
| Message-ID | <s9y/Serendipity/push/refs/heads/feature/cleaningCache/[email protected]> |
Branch: refs/heads/feature/cleaningCache
Home: https://github.com/s9y/Serendipity
Commit: dfd1726b11e080602aafd209288aaed136e82fe4
https://github.com/s9y/Serendipity/commit/dfd1726b11e080602aafd209288aaed136e82fe4
Author: onli <[email protected]>
Date: 2026-02-26 (Thu, 26 Feb 2026)
Changed paths:
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
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
To unsubscribe from these emails, change your notification settings at https://github.com/s9y/Serendipity/settings/notifications