PxyCache is a simple Proxy, With offline capacities. pxyCache also provide an Admin Panel to see and manage the cache of the "Proxy".
The term « Proxy » means all request you made (GET, POST) on http://localhost:5000/ are automaticaly send to the real server you have config.
I made this tool to be less dependent from the Back Office in the developpement process. I can work even if the Back office became unavailable.
- Make headers « stubbable » from the interface.
- Start the « Proxy ».
- Acces to http://localhost:5000/ its automatically call the equivalent in the real server.
- Manage your proxy => http://localhost:5000/api_proxy/
- Profit!
its mean its serve the content of the real domain
python2 serve.py --realdomain yourdomain.tld --realport 80 --cachepath "/tmp/cache" --onlineits mean its serve the content from your local cache if exist
python2 serve.py --realdomain yourdomain.tld --realport 80 --cachepath "/tmp/cache" --offlineIf the real domain became unavailable during the execution, the proxy will automatically switch in offline state for the request and serve the cached data if available.
Management can be done via curl call, or most simply with the Interface.
Url to acces it : http://localhost:5000/api_proxy/
