“”

Source Optimization Source Optimization

sourceopt / stable

Optimization of the final page: reformatting the (x)HTML output & removal of new-lines, comments and generator-info including search and replace strings using your regular expressions. In addition combines all SVG selected within content-elements into one <symbol> file and replaces <img> by <use>.

This version supports TYPO3

Older versions also support TYPO3

Last upload comment

Change ext_emconf.php version to 5.1.2

Downloads by month

Download 5.1.2 Extension Manual Found an Issue? Code Insights Donate and Give Kudos
Author
Dr. Ronald P. Steiner, Boris Nicolai, Tim Lochmueller, Marcus Förster
Last update
14. Oct 2023
First upload
09. Jan 2004
Downloads
110,417
Category
Frontend
Dependencies
  • TYPO3 (9.5.17 - 12.4.99)
  • PHP (7.4.0 - 8.99.99)

Installation

  1. Download ZIP file
  2. Log into your TYPO3 backend
  3. Go to Extension Manager module
  4. Press the upload button on the top bar
  5. Select the ZIP file and upload it. If you want to overwrite an existing extension installation, activate the checkbox.
  1. Download T3X file
  2. Log into your TYPO3 backend
  3. Go to Extension Manager module
  4. Press the upload button on the top bar
  5. Select the T3X file and upload it. If you want to overwrite an existing extension installation, activate the checkbox.

Other extensions by this user (14)

Version history

Version Upload comment Works with TYPO3 Download
5.1.2 / stable
October 14, 2023
Change ext_emconf.php version to 5.1.2
9.5.17 - 12.4.99 Download
5.0.0 / stable
November 04, 2022
Change ext_emconf.php version to 5.0.0
9.5.17 - 12.4.99 Download
4.0.4 / stable
March 01, 2022
Next release :) More information on https://github.com/lochmueller/sourceopt/releases
9.5.17 - 11.5.99 Download
4.0.3 / stable
December 22, 2021
Next release :) More information on https://github.com/lochmueller/sourceopt/releases
9.5.17 - 11.5.99 Download
4.0.2 / stable
December 09, 2021
Next release :) More information on https://github.com/lochmueller/sourceopt/releases
9.5.17 - 11.5.99 Download
4.0.1 / stable
November 18, 2021
Next release :) More information on https://github.com/lochmueller/sourceopt/releases
9.5.17 - 11.5.99 Download
4.0.0 / stable
November 17, 2021
Next release :) More information on https://github.com/lochmueller/sourceopt/releases
9.5.17 - 11.5.99 Download
3.1.0 / stable
August 24, 2021
Next release :) More information on https://github.com/lochmueller/sourceopt/releases
9.5.17 - 10.4.99 Download
3.0.0 / stable
October 28, 2020
Next release :) More information on https://github.com/lochmueller/sourceopt/releases
9.5.17 - 10.4.99 Download
2.0.0 / stable
October 19, 2019
First version for TYPO3 9.x
9.5.0 - 9.5.99 Download
1.0.0 / stable
June 15, 2017
8.7 fixes and some cleanups
7.6.0 - 8.7.99 Download
0.9.3 / beta
June 15, 2016
Code cleanups and travis CI configuration
6.2.0 - 7.99.99 Download
0.9.0 / beta
June 22, 2015
Release for TYPO3 6.2.x up to 7.x. And small cleanups/fixes
6.2.0 - 7.99.99 Download
0.8.7 / beta
May 06, 2015
Bugfix Release. Thanks to Benjamin Serfhos!
6.2.0 - 7.0.99 Download
0.8.6 / beta
April 22, 2015
Missing FrontendHook class? Upload the last version again... (no changes)
6.2.0 - 7.0.99 Download
0.8.5 / beta
April 07, 2015
Revert hook change and bugfixes. Thanks to Benjamin. Move development from forge to github: https://github.com/lochmueller/sourceopt
6.2.0 - 7.0.99 Download
0.8.1 / beta
February 04, 2015
Fix HTML comment replacement. Thanks to Benjamin
6.2.0 - 7.0.99 Download
0.8.0 / beta
November 09, 2014
First refactoring for 6.2 only. Thanks to Benjamin!! Renew the structure of the extension. Please test in dev/integration systems first...
6.2.0 - 6.2.99 Download
0.7.1 / stable
May 29, 2014
Remove PHP dependency!
4.5.0 - 6.2.99 Download
0.7.0 / stable
April 22, 2014
Small changes for GLOBALS in ext_localconf. Raise dependency to 4.5-6.2.
4.5.0 - 6.2.99 Download
0.6.3 / stable
December 27, 2013
Fix HTML manipulation bug for inline tags.
4.5.0 - 6.1.99 Download
0.6.2 / stable
December 15, 2013
Fix HTML manipulation bug for inline tags. Thanks Hannes
4.5.0 - 6.1.99 Download
0.6.1 / stable
June 02, 2013
Set dependencies and add inline documentation
Download
0.6.0 / beta
February 15, 2012
Start code refactoring. (Snapshot). Add HTML5 tags, cleanup source code tabs/spaces
Download
0.5.17 / beta
October 19, 2011
get conf from TSFE-config now (TSFE-tmpl-setup before; fallback now)
Download
0.5.16 / beta
October 13, 2011
Fix emptyLines for direct_mail
Download
0.5.15 / beta
October 09, 2010
Quick fix for replacement of empty spaces. thx to Christoph D.
Download
0.5.14 / beta
March 11, 2010
Bugfix thanks to Robert Zhrer
Download
0.5.13 / beta
October 27, 2009
Bugfix with long html pages. Thanks to Andreas Dörler
Download
0.5.12 / beta
July 21, 2009

Download
0.5.11 / beta
July 19, 2009
small adjustments
Download
0.5.10 / beta
February 20, 2009
small bugfix for pre elements
Download
0.5.9 / beta
February 11, 2009

Download
0.5.8 / beta
February 07, 2009

Download
0.5.7 / beta
February 02, 2009
some bugfixes
removing of obsolet functions
Download
0.5.6 / beta
January 28, 2009
Bugfix: pass by reference bug – thanks to Mathias Brodala
Download
0.5.5 / beta
January 25, 2009
bug with "$" signs
Download
0.5.4 / beta
April 28, 2008
Fix Call by reference Bug, remove naming errors and use the makeInstance function in the hook class.
Download
0.5.3 / beta
April 22, 2008
Bufixing, TYPO3 4.2.0 compatible
Download
0.5.2 / beta
April 04, 2008
Small Bugfix. ext_localconf.php class name in lower letters...
Download
0.5.1 / beta
March 27, 2008
Hook Change; Info: THE 0.5.x branch is the LATEST for TYPO3 < 4.2; 0.6.x goes PHP5 and REQUIRED TYPO3 4.2
Download
0.5.0 / beta
March 27, 2008
Change xClass to Hook, Now the code cleaning is called befor the page goes to the cache, result: better compatibility to nc_/fl_staticfilecache. Thx a lot to Ronald for this changes
Download
0.4.6 / beta
February 22, 2008
* Bugfix: FormatHTML: Changed the tab-increase-pattern from <col* to <col\s*, so that you no longer get a tab increase on <colgroup*>.

* Bugfix/Change: FormatHTML ignores now Comments, Styles and Scripts, since Scripts intended to break, when you deal
Download
0.4.5 / beta
September 11, 2007
Fix same Bugs... e.g. the remove of whitespaces in front of tags
Download
0.4.4 / beta
August 26, 2007
1. Remove Typoscript lines...
2. I included the line-break in the <!DOCYTYPE ..> Tag if the formatHtml set at least to a value greater than 4
3. Some minor bugfixes in the formatHtml function
Download
0.4.2 / beta
August 19, 2007
Jonathan found two minor bugs. This bus are fixed by Ronald
Download
0.4.1 / beta
August 19, 2007
* Change: names of the objects with no "_" but with humps like normally in Typo3
* Change: default TS includes some Typo3-core options that help cleaning the code
* Change: TYPO3 Copyright stays in the
Download
0.3.6 / beta
March 01, 2007
Why are same Extensions deleted in the TER without a information to the author?
Download
0.3.1 / beta
November 16, 2004
Bugfix: Some options didn't have any effect although enabled
Download
0.3.0 / beta
November 11, 2004
- some options have been removed: remove_script_cdata, move_inline_css, move_inline_css_file
- remove_new_lines now also removes space between tags
- sourceformating can be limited to the <body>
Download
0.2.2 / beta
November 11, 2004
New option: Alternate the language in the html-tag if xhtml-optimization is enabled. Example: If you enable xhtml in your template by "page.config.doctype = xhtml_trans" typo outputs "<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">" in
Download
0.2.1 / beta
January 09, 2004
New options:
- Keep the copyright comment if you remove comments
- Replace the clear.gif with a string eg. 1.gif
- Remove attributes from the <body>
Fix:
- It's now also possible to remove the blur-script under typo 3.6.0 RC1
Download