Feature #55038
New option for cache clearing
Status: | Resolved | Start date: | 2014-01-16 | |
---|---|---|---|---|
Priority: | Must have | Due date: | ||
Assigned To: | Christian Woebbeking | % Done: | 100% |
|
Category: | - | |||
Target version: | 6.2 | Estimated time: | 0.50 hour |
Description
New option
options.clearCache.system
If this option is set, the non-admin user is able to clear the system cache.
Note: It should not be necessary to do so for a normal user.
Clearing the system caches will impose a very large delay for the first load.
Related issues
Associated revisions
[FEATURE] New option for cache clearing
Add new property options.clearCache.system.
Update description from options.clearCache.pages.
Update description from options.clearCache.all.
Resolves: #55038
Change-Id: I17e07448cb7fbcc2e53668727669c9adcb6250fa
Reviewed-on: https://review.typo3.org/28684
Reviewed-by: Christian Woebbeking
Tested-by: Christian Woebbeking
History
#1 Updated by Francois Suter over 1 year ago
Christian apparently had some issues making this work, so I checked.
In fact adding only:
options.clearCache.system = 1
to a user's TSconfig does not work. You need to also set at least options.clearCache.pages
or options.clearCache.all
for the clear cache menu to show up at all. So this works:
options.clearCache.all = 1 options.clearCache.system = 1
I would say that this is a TYPO3 bug, but I would need to dig a bit more into the code to be sure whether this is a desired behaviour or not.
In the meantime, you can go ahead and document this property anyway.
#2 Updated by Francois Suter over 1 year ago
It's definitely a Core bug. I'll create a patch.
#3 Updated by Francois Suter over 1 year ago
The Core bug has been fixed and the labels have been improved.
The following will probably help in documenting this new property correctly (and note that the description of clearCache.pages and clearCache.all may need to be updated too):
- discussion in the core list: http://forum.typo3.org/index.php/t/202581/
- patch improving the labels: https://review.typo3.org/#/c/28588/
#4 Updated by Christian Woebbeking over 1 year ago
- Assigned To set to Christian Woebbeking
- Estimated time set to 0.50
#5 Updated by Gerrit Code Review over 1 year ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Documentation/TYPO3/Reference/Tsconfig has been pushed to the review server.
It is available at https://review.typo3.org/28684
#6 Updated by Gerrit Code Review over 1 year ago
Patch set 2 for branch master of project Documentation/TYPO3/Reference/Tsconfig has been pushed to the review server.
It is available at https://review.typo3.org/28684
#7 Updated by Christian Woebbeking over 1 year ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 4a0f06fb134dc635bc552623a90d81a371fb1009.