The interesting part is not the URL rewriting but the automatic download of the remote URL to a local file.
It wouldn't be hard to try to load both URLs from Javascript, or whatever, but why add additional complexity when you can just rewrite the file?
In reply to Re^4: Using a git filter to Cache HTML Resources Locally
by Corion
in thread Using a git filter to Cache HTML Resources Locally
by haukex
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |