Download the PHP package felixnagel/fe-performance without Composer

On this page you can find all versions of the php package felixnagel/fe-performance. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package fe-performance

TYPO3 fe_performance

This TYPO3 CMS extension improves your frontend performance. Adds HTML and JavaScript minification. Comes with some useful tweaks to improve asset rendering.

Supports JS added by TypoScript, PageRenderer or AssetCollector.

Features

What it does

TYPO3 does gzip compression but no minification of JS files. This extension adds JavaScript minification to files and inline scripts by using the jsCompressHandler hook and BeforeJavaScriptsRenderingEvent event. Usage: config.compressJs needs to be enabled, gzip compression works as before.

When using config.removeDefaultJS = external TYPO3 generates temp JavaScript files with all per page inline JS and some default JS. This way users need to download code from static files multiple times, just because its merged with per page inline JS. You could exclude these files from concatenation with static files (includeJS and includeJSFooter) by enabling excludeInlineJsFromConcatenation option in extension manager.

JavaScript minifiers

Choose the one best fitting for your needs. Configure this in the EM.

JSMin+ Widely used JS compressor. A PHP port of Brendan Eich's Narcissus original implementation. http://crisp.tweakblogs.net/blog/6861/jsmin%2B-version-14.html

JavaScriptMinifier Used by the Wikimedia Foundation for different projects incl. Wikipedia. Considered the most robust, stable and fastest one. Under active development. https://github.com/wikimedia/mediawiki/blob/REL1_35/includes/libs/JavaScriptMinifier.php

Upgrade

Version 2.2.0

Use "Flush TYPO3 and PHP Cache" in the "Admin Tools -> Maintenance" BE module.

Removed obsolete moveInlineJsToFooter option. Since TYPO3 v11 the asset collector is used for inline JS and adds the default JS to the footer without any tweaks.

Version 2.0.0

Use "Flush TYPO3 and PHP Cache" in the "Admin Tools -> Maintenance" BE module.`

Version 1.0.0

Use "Clear all caches including PHP opcode cache" and "Dump Autoload Information" in the install tool (if needed for your setup).

Please update the minifier configuration in the Extension Manager as the class names have changed.

Feedback

Feel free to add bug reports via GitHub issues or send PRs.

Links


All versions of fe-performance with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
typo3/cms-core Version >=12.4.0,<=13.4.99
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package felixnagel/fe-performance contains the following files

Loading the files please wait ....