Enhance performance, reduce load times, and improve compatibility for Webflow-built websites.
This project provides a simple reverse proxy solution for websites built with Webflow. The primary goals are to:
- Boost performance and loading speed.
- Increase compatibility across different environments.
- Implement content compression to minimize data transfer size and further improve speed.
- 🗃️ Caching Static Content: Store and serve static assets to reduce server load and improve load times.
- 🗜️ Content Compression: Compress web content to reduce the size of data transferred.
- 🔄 Proxy Creation: Set up a reverse proxy in development or testing environments.
The following image provides a visual overview of how the reverse proxy script functions. It illustrates the key components and flow of the script, showing how it handles requests and serves content through the proxy.
To set up the reverse proxy, follow these simple steps:
-
Download the
index.php
file: -
Upload
index.php
to Your Shared Host:- Use FTP or your hosting provider's file manager to upload the
index.php
file to the root directory of your shared host.
- Use FTP or your hosting provider's file manager to upload the
-
Configure the Target Domain:
- Open the
index.php
file in any text editor. - Locate the following lines at the beginning of the file:
<?php $target_ip = 'example.webflow.io'; $target_port = '443';
- Replace
'example.webflow.io'
with your Webflow domain (e.g.,yourwebsite.webflow.io
).
- Open the
-
Save the Changes:
- Save the modified
index.php
file and re-upload it if necessary.
- Save the modified
-
Access Your Proxy:
- Open your browser and go to your shared host domain to see your Webflow website loaded through the reverse proxy.
That's it! Your reverse proxy is now set up and ready to use.
This project is open source and available under the MIT License. You are free to use, modify, and distribute it as you wish, provided that the original license is included in any copies or substantial portions of the project.
For more details, see the LICENSE file.
The author of this project is not responsible for any misuse or breach of Webflow's terms and conditions by users.
Developed with ❤️ by The.Erf