GRANBLUE FANTASY CACHING PROXY
Modern browsers will cache a ton of data, but what if it's not enough to cache your regular browsing data and Granblue Fantasy assets? I have no idea if this actually is an issue, but I wrote this caching proxy anyway.
gbf-proxy.ini
if you want.py -m pip install -r requirements.txt
py gbf-proxy.py
gbf-proxy.ini
(default: localhost:8080
).You can use PAC files so that you don't need to proxy ALL your browser traffic through mproxy-gbf
. Here is a sample PAC file:
function FindProxyForURL(url, host) {
if (shExpMatch(url, "*.granbluefantasy.jp/*")
&& !shExpMatch(url, "*game.granbluefantasy.jp/(authentication|ob/r)*")) {
return "PROXY localhost:8080";
}
return "DIRECT";
}
This PAC file is also included in this repository as gbf-proxy.pac
.
Chrome uses Windows' proxy settings, so you have to tell Windows to use your PAC file. (Hint: Internet Options)
I think you can tell Firefox to use a PAC file.
Currently, there isn't anything implemented to verify cache data. So things could go wrong. For example, music may never load due to a hiccup when the music is first cached.
In the worst case, you can nuke the entire cache directory and start fresh.