Closed (outdated)
Project:
Drupal core
Version:
9.4.x-dev
Component:
base system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
5 Mar 2013 at 03:42 UTC
Updated:
2 Sep 2022 at 01:36 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
sunComment #2
sunbtw, both of these should be $settings instead of $conf, but I guess/hope we have separate issues for that already.
Comment #3
sunoh d.o...
Comment #4
sunTurned that @todo into a separate follow-up: #1933726: How do I prevent DrupalKernel from dumping?
Comment #5
sunKick-starting this to get the ball rolling. Prematurely including a setting for #1933726: How do I prevent DrupalKernel from dumping?
There are apparently some other new sections for similar developer-mode settings with regard to Twig scattered throughout settings.php.
Furthermore, it would make sense to move/mention the CSS/JS aggregation settings here, too.
Comment #6
sunAnd here's an alternative proposal:
A radical clean-up of default.settings.php and compact listing of all the settings you typically need to touch/override for development environments.
I'd really love to see this, as I find it quite annoying to have to dig out the proper lines from other existing installs each time. However, also happy to go with just #5, if people think that this is too much or too radical. ;)
Comment #6.0
sunUpdated issue summary.
Comment #7
mgiffordThis is a great idea @sun. Would be great to be able to set this in a settings.local.php file so that developers are less frustrated running into caching issues when developing the site.
Testing would just include reviewing the help text and then un-commenting the variables.
What else would be needed?
Comment #8
mgiffordpatch no longer applied.
Comment #9
sunSome related issues.
Comment #10
scor commentedstraight reroll.
also adding a patch with all options enabled to see if some tests are failing.
Comment #12
wim leers#2226761: Change all default settings and config to fast/safe production values landed. I think this might need a reroll to apply the changes to
sites/example.settings.local.phpinstead.Comment #25
quietone commentedThis issue was discussed at a Bug Smash Initiative group triage meeting. darvanen stated that this is ourdated, explaining that "example.settings.local.php has good instructions for disabling caches and the twig stuff has moved to example.services.yml".
Therefore, closing as outdated. If this is incorrect reopen the issue, by setting the status to 'Active', and add a comment explaining what still needs to be done.
Thanks!