We don't bite newbies here... much | |
PerlMonks |
Re^5: Using a git filter to Cache HTML Resources Locallyby Anonymous Monk |
on Oct 14, 2018 at 07:03 UTC ( [id://1223986]=note: print w/replies, xml ) | Need Help?? |
The interesting part is not the URL rewriting but the automatic download of the remote URL to a local file. Heh Downloading/mirroring is the boring part :)(lwp-rget/wget/curl/httrack...) The URL rewriting is the eyebrow raising part (sourcefilter) 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? Um, ... Why is one additional complexity but not the other?
In Section
Cool Uses for Perl
|
|