Skip to content

Latest commit

 

History

History
14 lines (9 loc) · 443 Bytes

File metadata and controls

14 lines (9 loc) · 443 Bytes

Suppresses whitespaces in output HTML for Silverstripe 3

Extension to remove whitespaces from HTML output.

Ideally whitespaces should be removed when the template gets parsed and stored in cache. Current approach removes whitespaces on every request so it adds additional load on the server.

Requirements

  • SilverStripe 3 framework

Usage

The extension automatically removes whitespaces from HTML output.

No configuration required.