This issue has novice tasks. Therefore if you are an experienced core developer and have multiple commit mentions it is appreciated if instead of doing the task, you review the task done by a novice. Experienced people giving feedback is very valuable.
Problem/Motivation
Followup from #1824778: Convert css_gzip_compression and js_gzip_compression variables to CMI system
Proposed resolution
- Swap extension_load() and the config() calls? - this would save loading the configuration object if it's never going to needed anyway. This needs to be done in drupal_page_set_cache() and \Drupal\Core\Asset\AssetDumper::dump().
- Remove section from settings.php about CSS/JS aggregated file gzip compression as we now have a UI.
User interface changes
None
API changes
None
| Task | Novice task? | Contributor instructions | Complete? | |
|---|---|---|---|---|
| Create a patch | Instructions | |||
| Reroll the patch if it no longer applies. | Instructions | |||
| Update the issue summary | Instructions | |||
| Review patch to ensure that it fixes the issue, stays within scope, is properly documented, and follows coding standards | Instructions |
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | interdiff-14-15.txt | 642 bytes | dinarcon |
| #15 | tidy_up_gz_conf-2183075-15.patch | 2.72 KB | dinarcon |
| #14 | tidy_up_gz_conf-2183075-14.patch | 2.03 KB | pushpinderchauhan |
| #12 | tidy_up_gz_conf-2183075-12.patch | 2.03 KB | amitgoyal |
Comments
Comment #1
valderama commentedHere is a first patch, which reverses the order of the extension_load() and the config() calls and removes the section in the default.settings.php
Is the patch fine like this?
Comment #2
valderama commentedComment #3
valderama commentedComment #4
valderama commentedRemoved the whitespace in the if-condition...
Comment #5
lucastockmann commentedMaybe a side Issue, or could be fixed here:
drupal_page_set_cache()has wrongly documented params.Comment #6
valderama commentedThe documentation change belongs into a new issue. Should be tagged with "Documentation". And maybe check if there is an issue about this change already.
Comment #7
umar-ahmad commentedRerolled the earlier patch
Comment #8
cilefen commented7: tidy_up_gz_conf-2183075-7.patch queued for re-testing.
Comment #10
cilefen commentedUpdating for the Austin sprint. See http://www.hook42.com/blog/prepping-drupalcon-austin-sprints-sprint-lead...
Comment #11
dinarcon commentedWorking on this.
Comment #12
amitgoyal commentedPlease review revised patch as the patch in #7 no longer applies.
Comment #13
cilefen commentedComment #14
pushpinderchauhan commentedRerolled above #12 patch.
Comment #15
dinarcon commentedThe issue summary states that the condition swap should also be made in drupal_page_set_cache() This patch adds to @er.pushpinderrana's patch in #14 to account for that.
Comment #16
znerol commentedThanks. Patch still applies and it does address the requirements listed in the issue summary.
Comment #18
catchCommitted/pushed to 8.0.x, thanks!