Skip to content

v1.0.0

Latest

Choose a tag to compare

@dragosani24 dragosani24 released this 25 Apr 19:36
· 18 commits to main since this release

🎉 Initial Release

This is the first stable release of the Laravel Caching Proxy package, providing a simple yet powerful caching proxy server for Laravel applications.

✨Features

Proxy Server: Forward requests to an origin server with caching

Cache Management: Automatic response caching with TTL control

Cache Headers: X-Cache: HIT/MISS headers to identify cached responses

CLI Interface: Easy-to-use Artisan commands for management

Configurable: Set default ports and origins via config file

Standalone Executable: Can be run without Laravel integration

🚀 Installation

composer require your-github-username/laravel-caching-proxy

📝 Basic Usage

Start the proxy server:

php artisan caching-proxy --port 3000 --origin http://example.com

Clear cache:

php artisan caching-proxy --clear-cache

⚙️ Configuration

Publish the config file:

php artisan vendor:publish --provider="YourGithubUsername\\CachingProxy\\CachingProxyServiceProvider" --tag="config"

🐛 Known Issues

Cache invalidation is currently only time-based (TTL)

Large file responses may impact memory usage

🔜 Planned Features

Cache tagging support

Custom cache invalidation strategies

Rate limiting integration

Prometheus metrics endpoint

📦 Dependencies

PHP 8.0+

Laravel 9.x or 10.x

GuzzleHTTP 7.0+

❤️ Credits

Special thanks to all contributors and the Laravel community.