UNPKG

caching-proxy

Version:

A caching proxy server useable in your front-end projects to cache API requests and rewrite their responses as needed to be routed through server - for tradeshows, demos, data that you know will be retired someday, and load testing in shared environments

177 lines (176 loc) 9.41 kB
[2019-01-25 09:34:33:289] Starting a CachingProxy server PORT=8092, BASE DATA DIR: /var/www/html/caching-proxy/data EXCLUSIONS: token,rand Allowed Errors: 404,500 Temp Only (do not save cached files to disk permanently): false Status Service via /status: OFF Route Requests through localhost, or by IP: http://localhost:8092/http/yourUrl.com?your=parameters&go=here Alternatively before the /http/, include a unique name, to force data into a folder/var/www/html/caching-proxy/data/<unique-name>: http://localhost:8092/<unique-name>/http/yourUrl.com?your=parameters&go=here [2019-01-25 09:34:33:475] Starting a CachingProxy server PORT=8092, BASE DATA DIR: /var/www/html/caching-proxy/data EXCLUSIONS: token,rand Allowed Errors: 404,500 Temp Only (do not save cached files to disk permanently): false Status Service via /status: OFF Route Requests through localhost, or by IP: http://localhost:8092/http/yourUrl.com?your=parameters&go=here Alternatively before the /http/, include a unique name, to force data into a folder/var/www/html/caching-proxy/data/<unique-name>: http://localhost:8092/<unique-name>/http/yourUrl.com?your=parameters&go=here [2019-01-25 09:34:33:655] Starting a CachingProxy server PORT=8092, BASE DATA DIR: /var/www/html/caching-proxy/data EXCLUSIONS: token,rand Allowed Errors: 404,500 Temp Only (do not save cached files to disk permanently): false Status Service via /status: OFF Route Requests through localhost, or by IP: http://localhost:8092/http/yourUrl.com?your=parameters&go=here Alternatively before the /http/, include a unique name, to force data into a folder/var/www/html/caching-proxy/data/<unique-name>: http://localhost:8092/<unique-name>/http/yourUrl.com?your=parameters&go=here [2019-01-25 09:34:33:837] Starting a CachingProxy server PORT=8092, BASE DATA DIR: /var/www/html/caching-proxy/data EXCLUSIONS: token,rand Allowed Errors: 404,500 Temp Only (do not save cached files to disk permanently): false Status Service via /status: OFF Route Requests through localhost, or by IP: http://localhost:8092/http/yourUrl.com?your=parameters&go=here Alternatively before the /http/, include a unique name, to force data into a folder/var/www/html/caching-proxy/data/<unique-name>: http://localhost:8092/<unique-name>/http/yourUrl.com?your=parameters&go=here [2019-01-25 09:34:34:019] Starting a CachingProxy server PORT=8092, BASE DATA DIR: /var/www/html/caching-proxy/data EXCLUSIONS: token,rand Allowed Errors: 404,500 Temp Only (do not save cached files to disk permanently): false Status Service via /status: OFF Route Requests through localhost, or by IP: http://localhost:8092/http/yourUrl.com?your=parameters&go=here Alternatively before the /http/, include a unique name, to force data into a folder/var/www/html/caching-proxy/data/<unique-name>: http://localhost:8092/<unique-name>/http/yourUrl.com?your=parameters&go=here [2019-01-25 09:34:34:201] Starting a CachingProxy server PORT=8092, BASE DATA DIR: /var/www/html/caching-proxy/data EXCLUSIONS: token,rand Allowed Errors: 404,500 Temp Only (do not save cached files to disk permanently): false Status Service via /status: OFF Route Requests through localhost, or by IP: http://localhost:8092/http/yourUrl.com?your=parameters&go=here Alternatively before the /http/, include a unique name, to force data into a folder/var/www/html/caching-proxy/data/<unique-name>: http://localhost:8092/<unique-name>/http/yourUrl.com?your=parameters&go=here [2019-01-25 09:34:34:387] Starting a CachingProxy server PORT=8092, BASE DATA DIR: /var/www/html/caching-proxy/data EXCLUSIONS: token,rand Allowed Errors: 404,500 Temp Only (do not save cached files to disk permanently): false Status Service via /status: OFF Route Requests through localhost, or by IP: http://localhost:8092/http/yourUrl.com?your=parameters&go=here Alternatively before the /http/, include a unique name, to force data into a folder/var/www/html/caching-proxy/data/<unique-name>: http://localhost:8092/<unique-name>/http/yourUrl.com?your=parameters&go=here [2019-01-25 09:34:34:737] Starting a CachingProxy server PORT=8092, BASE DATA DIR: /var/www/html/caching-proxy/data EXCLUSIONS: token,rand Allowed Errors: 404,500 Temp Only (do not save cached files to disk permanently): false Status Service via /status: OFF Route Requests through localhost, or by IP: http://localhost:8092/http/yourUrl.com?your=parameters&go=here Alternatively before the /http/, include a unique name, to force data into a folder/var/www/html/caching-proxy/data/<unique-name>: http://localhost:8092/<unique-name>/http/yourUrl.com?your=parameters&go=here [2019-01-25 09:34:34:954] Starting a CachingProxy server PORT=8092, BASE DATA DIR: /var/www/html/caching-proxy/data EXCLUSIONS: token,rand Allowed Errors: 404,500 Temp Only (do not save cached files to disk permanently): false Status Service via /status: OFF Route Requests through localhost, or by IP: http://localhost:8092/http/yourUrl.com?your=parameters&go=here Alternatively before the /http/, include a unique name, to force data into a folder/var/www/html/caching-proxy/data/<unique-name>: http://localhost:8092/<unique-name>/http/yourUrl.com?your=parameters&go=here [2019-01-25 09:34:35:143] Starting a CachingProxy server PORT=8092, BASE DATA DIR: /var/www/html/caching-proxy/data EXCLUSIONS: token,rand Allowed Errors: 404,500 Temp Only (do not save cached files to disk permanently): false Status Service via /status: OFF Route Requests through localhost, or by IP: http://localhost:8092/http/yourUrl.com?your=parameters&go=here Alternatively before the /http/, include a unique name, to force data into a folder/var/www/html/caching-proxy/data/<unique-name>: http://localhost:8092/<unique-name>/http/yourUrl.com?your=parameters&go=here [2019-01-25 09:34:35:324] Starting a CachingProxy server PORT=8092, BASE DATA DIR: /var/www/html/caching-proxy/data EXCLUSIONS: token,rand Allowed Errors: 404,500 Temp Only (do not save cached files to disk permanently): false Status Service via /status: OFF Route Requests through localhost, or by IP: http://localhost:8092/http/yourUrl.com?your=parameters&go=here Alternatively before the /http/, include a unique name, to force data into a folder/var/www/html/caching-proxy/data/<unique-name>: http://localhost:8092/<unique-name>/http/yourUrl.com?your=parameters&go=here [2019-01-25 09:34:35:505] Starting a CachingProxy server PORT=8092, BASE DATA DIR: /var/www/html/caching-proxy/data EXCLUSIONS: token,rand Allowed Errors: 404,500 Temp Only (do not save cached files to disk permanently): false Status Service via /status: OFF Route Requests through localhost, or by IP: http://localhost:8092/http/yourUrl.com?your=parameters&go=here Alternatively before the /http/, include a unique name, to force data into a folder/var/www/html/caching-proxy/data/<unique-name>: http://localhost:8092/<unique-name>/http/yourUrl.com?your=parameters&go=here [2019-01-25 09:34:35:693] Starting a CachingProxy server PORT=8092, BASE DATA DIR: /var/www/html/caching-proxy/data EXCLUSIONS: token,rand Allowed Errors: 404,500 Temp Only (do not save cached files to disk permanently): false Status Service via /status: OFF Route Requests through localhost, or by IP: http://localhost:8092/http/yourUrl.com?your=parameters&go=here Alternatively before the /http/, include a unique name, to force data into a folder/var/www/html/caching-proxy/data/<unique-name>: http://localhost:8092/<unique-name>/http/yourUrl.com?your=parameters&go=here [2019-01-25 09:34:35:888] Starting a CachingProxy server PORT=8092, BASE DATA DIR: /var/www/html/caching-proxy/data EXCLUSIONS: token,rand Allowed Errors: 404,500 Temp Only (do not save cached files to disk permanently): false Status Service via /status: OFF Route Requests through localhost, or by IP: http://localhost:8092/http/yourUrl.com?your=parameters&go=here Alternatively before the /http/, include a unique name, to force data into a folder/var/www/html/caching-proxy/data/<unique-name>: http://localhost:8092/<unique-name>/http/yourUrl.com?your=parameters&go=here [2019-01-25 09:34:36:070] Starting a CachingProxy server PORT=8092, BASE DATA DIR: /var/www/html/caching-proxy/data EXCLUSIONS: token,rand Allowed Errors: 404,500 Temp Only (do not save cached files to disk permanently): false Status Service via /status: OFF Route Requests through localhost, or by IP: http://localhost:8092/http/yourUrl.com?your=parameters&go=here Alternatively before the /http/, include a unique name, to force data into a folder/var/www/html/caching-proxy/data/<unique-name>: http://localhost:8092/<unique-name>/http/yourUrl.com?your=parameters&go=here [2019-01-25 09:34:36:251] Starting a CachingProxy server PORT=8092, BASE DATA DIR: /var/www/html/caching-proxy/data EXCLUSIONS: token,rand Allowed Errors: 404,500 Temp Only (do not save cached files to disk permanently): false Status Service via /status: OFF Route Requests through localhost, or by IP: http://localhost:8092/http/yourUrl.com?your=parameters&go=here Alternatively before the /http/, include a unique name, to force data into a folder/var/www/html/caching-proxy/data/<unique-name>: http://localhost:8092/<unique-name>/http/yourUrl.com?your=parameters&go=here