https://github.com/itinerisltd/preconnect-cleaner
WordPress Preconnect Cleaner
https://github.com/itinerisltd/preconnect-cleaner
dns-prefetch preconnect wordpress
Last synced: 2 months ago
JSON representation
WordPress Preconnect Cleaner
- Host: GitHub
- URL: https://github.com/itinerisltd/preconnect-cleaner
- Owner: ItinerisLtd
- License: mit
- Created: 2021-11-23T11:48:25.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2026-04-01T15:21:08.000Z (3 months ago)
- Last Synced: 2026-04-01T19:54:54.127Z (3 months ago)
- Topics: dns-prefetch, preconnect, wordpress
- Language: PHP
- Homepage:
- Size: 46.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Preconnect Cleaner
[](https://github.com/ItinerisLtd/preconnect-cleaner/actions/workflows/ci.yml)
[](https://github.com/ItinerisLtd/preconnect-cleaner/actions/workflows/releases.yml)
[](https://packagist.org/packages/itinerisltd/preconnect-cleaner)
[](https://packagist.org/packages/itinerisltd/preconnect-cleaner)
[](https://packagist.org/packages/itinerisltd/preconnect-cleaner/stats)
[](https://github.com/ItinerisLtd/preconnect-cleaner/blob/master/LICENSE)
[](https://www.itineris.co.uk/contact/)
[](https://twitter.com/itineris_ltd)
Preconnect Cleaner.
- [Goal](#goal)
- [Features](#features)
- [Minimum Requirements](#minimum-requirements)
- [Installation](#installation)
- [Composer (Recommended)](#composer-recommended)
- [Build from Source (Not Recommended)](#build-from-source-not-recommended)
- [Common Issues](#common-issues)
- [FAQ](#faq)
- [Will you add support for older PHP versions?](#will-you-add-support-for-older-php-versions)
- [It looks awesome. Where can I find more goodies like this?](#it-looks-awesome-where-can-i-find-more-goodies-like-this)
- [Where can I give :star::star::star::star::star: reviews?](#where-can-i-give-starstarstarstarstar-reviews)
- [Developing](#developing)
- [Testing](#testing)
- [Feedback](#feedback)
- [Change Log](#change-log)
- [Security](#security)
- [Credits](#credits)
- [License](#license)
## Goal
Prevent issues caused by pages existing on URLs of various casing.
## Features
- Cleanup preconnect hints.
[Pull requests](https://github.com/ItinerisLtd/preconnect-cleaner) are welcomed.
## Minimum Requirements
- PHP v7.4
- WordPress v5.8
## Installation
### Composer (Recommended)
```bash
composer require itinerisltd/preconnect-cleaner
```
### Build from Source (Not Recommended)
```bash
# Make sure you use the same PHP version as remote servers.
# Building inside docker images is recommended.
php -v
# Checkout source code
git clone https://github.com/ItinerisLtd/preconnect-cleaner.git
cd preconnect-cleaner
git checkout
# Build the zip file
composer release:build
```
Then, install `release/preconnect-cleaner.zip` [as usual](https://codex.wordpress.org/Managing_Plugins#Installing_Plugins).
## Common Issues
N/A
## FAQ
### Will you add support for older PHP versions?
Never! This plugin will only work on [actively supported PHP versions](https://secure.php.net/supported-versions.php).
Don't use it on **end of life** or **security fixes only** PHP versions.
### It looks awesome. Where can I find more goodies like this?
- Articles on [Itineris' blog](https://www.itineris.co.uk/blog/)
- More projects on [Itineris' GitHub profile](https://github.com/itinerisltd)
- More plugins on [Itineris](https://profiles.wordpress.org/itinerisltd/#content-plugins) wp.org profiles
- Follow [@itineris_ltd](https://twitter.com/itineris_ltd) on Twitter
- Hire [Itineris](https://www.itineris.co.uk/services/) to build your next awesome site
### Where can I give :star::star::star::star::star: reviews?
Thanks! Glad you like it. It's important to let my boss knows somebody is using this project. Please consider:
- leave a 5-star review on [wordpress.org](https://wordpress.org/support/plugin/preconnect-cleaner/reviews/)
- tweet something good with mentioning [@itineris_ltd](https://twitter.com/itineris_ltd)
- :star: star this [Github repo](https://github.com/ItinerisLtd/preconnect-cleaner)
- :eyes: watch this [Github repo](https://github.com/ItinerisLtd/preconnect-cleaner)
- write blog posts
- submit [pull requests](https://github.com/ItinerisLtd/preconnect-cleaner)
- [hire Itineris](https://www.itineris.co.uk/services/)
## Developing
### Testing
```bash
composer style:check
```
Pull requests without tests will not be accepted!
## Feedback
**Please provide feedback!** We want to make this library useful in as many projects as possible.
Please submit an [issue](https://github.com/ItinerisLtd/preconnect-cleaner/issues/new) and point out what you do and don't like, or fork the project and make suggestions.
**No issue is too small.**
## Change Log
Please see [CHANGELOG](./CHANGELOG.md) for more information on what has changed recently.
## Security
If you discover any security related issues, please email [dev@itineris.co.uk](mailto:dev@itineris.co.uk) instead of using the issue tracker.
## Credits
[preconnect-cleaner](https://github.com/ItinerisLtd/preconnect-cleaner) is a [Itineris Limited](https://www.itineris.co.uk/) project.
Full list of contributors can be found [here](https://github.com/ItinerisLtd/preconnect-cleaner/graphs/contributors).
## License
[Preconnect Cleaner](https://github.com/ItinerisLtd/preconnect-cleaner) is released under the [MIT License](https://opensource.org/licenses/MIT).