Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Using a git filter to Cache HTML Resources Locally

by haukex (Archbishop)
on Oct 07, 2018 at 18:50 UTC ( [id://1223642]=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    <link rel="stylesheet" href="https://example.com/example.css" />
    <script src="https://example.com/example.js"></script>
    
  2. or download this
    <link rel="stylesheet" href="_cache/example.css" />
    <script src="_cache/example.js"></script>
    
  3. or download this
    <!--cacheable--><link rel="stylesheet" href="https://cdnjs.cloudflare.
    +com/ajax/libs/normalize/8.0.0/normalize.min.css" integrity="sha256-oS
    +rCnRYXvHG31SBifqP2PM1uje7SJUyX0nTwO2RJV54=" crossorigin="anonymous" /
    +>
    
  4. or download this
    <!-- CACHED FROM "https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0
    +.0/normalize.min.css" --><link rel="stylesheet" href="_cache/normaliz
    +e.min.css" integrity="sha256-oSrCnRYXvHG31SBifqP2PM1uje7SJUyX0nTwO2RJ
    +V54=" crossorigin="anonymous" />
    
  5. or download this
    $ git status
    On branch master
    Your branch is up to date with 'origin/master'.
    
    nothing to commit, working tree clean
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: CUFP [id://1223642]
Front-paged by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others wandering the Monastery: (4)
As of 2024-03-29 08:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found