All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Fix Link HTTP headers to be in right format
- Add various integration tests (HTML body, FPC)
- Remove unneeded module version
- Fix stringing of content (@MaximGns, #43)
- Add compatibility with Symfony 6
- Added nopush to all preload links
- Loosen symfony/dom-crawler constraint #40 (@bramstroker)
- Only preload CSS when critical CSS is disabled (@Quazz)
- Prevent LinkPreload module on non-HTML content
- Don't preload lazy loading images #36 (@Quazz)
- Missing crossorigin in html output (@mageho)
- Make sure title is only parsed once, fixing issues with SVGs
- Fix PHP Fatal Error with preconfigured assets from layout
- Prevent multiple rel-attributes
- Complete refactoring to cleanup code
- Forget to include XML file
- Added
hyva_default
XML layout handle for Hyva compatibility
- Cast response to string #26 (@barryvdh)
- Add preload-attributes to HTML as well
- Magento 2.4 support
- Increase dep with symfony/css-selector
- Construct link according to W3 specs, including crossorigin on fonts (@dimitri-koenig)
- Extends layout configuration with options for fonts, images and styles (@dimitri-koenig)
- If link is full URL, try to turn it into absolute path
- Prevent HTTP/HTTPS URLs to be turned into static content URLs
- Add better detection of stylesheets (rel=stylesheet instead of as=style)
- Add XML layout instructions for custom additional links to be set
- Increase requirement for framework 102 or higher
- Add a flag "Skip Images"
- Skip image when Yireo Webp2 is installed
- Changed name of module from
ServerPush
toLinkPreload
- Add a separate
Config
class - Add a CHANGELOG
- Changed paths in System Configuration
- Make cookie check optional, because it only might be needed with Varnish
- Remove frontend-check, so it also works for backend :)
- Make several
protected
methodsprivate
- Add a cookie to stop serving
Link
headers after initial request
- Initial release