You are here

README.txt in Minify Source HTML 7

CONTENTS OF THIS FILE
---------------------

 * Introduction
 * Requirements
 * Installation
 * Configuration
 * Drush

INTRODUCTION
------------

Minify Source HTML was developed to replace the implementation of the Minify
module (https://www.drupal.org/project/minify) which would only minify the html
in the content area of the page, not the html of the entire page. This module
hooks in at the very end of the page render process and minifies everything.

REQUIREMENTS
------------

None.

INSTALLATION
------------

Install as you would normally install a contributed Drupal module. Visit:
https://www.drupal.org/documentation/install/modules-themes/modules-7 for
further information.

CONFIGURATION
-------------

* Configure user permissions in Administration » People » Permissions:

  - Administer Minify HTML Module

    This permission controls who can enable/disable the minification of the
    source HTML and who can modify the settings of the module.

* Customize the module settings in Administration » Configuration » Development
    » Performance » Minify Source HTML settings.

* Enable the minification of the source HTML in Administration » Configuration
    » Development » Performance.  See the Bandwidth optimization section.

DRUSH
-----

* Enable the minification of html:

  drush vset minifyhtml_minify 1

* Disable the minification of html:

  drush vset minifyhtml_minify 1

File

README.txt
View source
  1. CONTENTS OF THIS FILE
  2. ---------------------
  3. * Introduction
  4. * Requirements
  5. * Installation
  6. * Configuration
  7. * Drush
  8. INTRODUCTION
  9. ------------
  10. Minify Source HTML was developed to replace the implementation of the Minify
  11. module (https://www.drupal.org/project/minify) which would only minify the html
  12. in the content area of the page, not the html of the entire page. This module
  13. hooks in at the very end of the page render process and minifies everything.
  14. REQUIREMENTS
  15. ------------
  16. None.
  17. INSTALLATION
  18. ------------
  19. Install as you would normally install a contributed Drupal module. Visit:
  20. https://www.drupal.org/documentation/install/modules-themes/modules-7 for
  21. further information.
  22. CONFIGURATION
  23. -------------
  24. * Configure user permissions in Administration » People » Permissions:
  25. - Administer Minify HTML Module
  26. This permission controls who can enable/disable the minification of the
  27. source HTML and who can modify the settings of the module.
  28. * Customize the module settings in Administration » Configuration » Development
  29. » Performance » Minify Source HTML settings.
  30. * Enable the minification of the source HTML in Administration » Configuration
  31. » Development » Performance. See the Bandwidth optimization section.
  32. DRUSH
  33. -----
  34. * Enable the minification of html:
  35. drush vset minifyhtml_minify 1
  36. * Disable the minification of html:
  37. drush vset minifyhtml_minify 1