Task #57230
closed
Activate "clear system cache" with Preset "Development"
Added by Xavier Perseguers about 10 years ago.
Updated over 6 years ago.
Description
When using configuration preset "Development", we should automatically activate the additional "clear system cache" menu for administrators.
Adding it via pageTS should of course be kept, as it is useful when using Production mode but willing to see this option anyway.
=> have a TYPO3_CONF_VAR which enables it (for admin only).. and add this setting to the "Dev-Preset" in the install tool presets
Files
- Status changed from New to Accepted
- Assignee deleted (
Wouter Wolters)
Great idea and based on my experience these last days where this seemed to be the most frequently asked question (also amongst team members), we should have this setting, as this is also what developers will expect in a "development instance".
Current code shows that this is already the case if an environment variable puts the website into Development mode, but this does not work without an environment variable as LocalConfiguration has not yet been read when defined, in Bootstrap.
Dev-Preset or Dev-Context?
Dev preset. Defining the Context is not always possible (shared-hosted on Nginx, no way to have a ".htaccess").
I have a prototype adding an "applicationContext" under TYPO3_CONF_VARS/SYS but the application context is instantiated too early in bootstrap and cannot be overridden.
ok but we just wanted a new setting for the clear system caches and not changing anything about the contextes in this issue. Is this still doable?
- Status changed from Accepted to Under Review
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
- Status changed from Resolved to Closed
Also available in: Atom
PDF