Problem/Motivation
When the minifyhtml source is enabled the permissions page is getting memory exhaust error. Do we need MinifyHTML in admin pages?
Steps to reproduce
Proposed resolution
Better to have a checkbox "Disable Minify for admin pages" in settings page where we can exclude the admin pages from minify.
OR
Disable minify for specific pages by providing a text field.
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #8 | minifyhtml-ignore-admin-pages-3230610-7.patch | 7.05 KB | geoanders |
| #6 | minifyhtml-3230610.patch | 4.99 KB | sriharsha.uppuluri |
| #4 | minifyhtml-3230610.patch | 5.16 KB | sriharsha.uppuluri |
Issue fork minifyhtml-3230610
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3230610-minify-settings-ignore
changes, plain diff MR !6
Comments
Comment #2
sriharsha.uppuluri commentedComment #3
sarjeet.singh commentedI think, "Disable minify for specific pages" is good and we can disable all admin page with wild card (admin/*)
Comment #4
sriharsha.uppuluri commentedCreated the patch for the same.
Comment #6
sriharsha.uppuluri commentedRevised the patch for the 1.11 version.
Comment #8
geoanders commentedTested out patch and seems to work as intended.
I added states to only show exclude_pages textarea field when "Minified Source HTML" is enabled.
* Probably need to update tests to factor in new setting.
Comment #9
slydevil commentedComment #12
slydevil commentedComment #13
slydevil commented