5.4. Repair From Peer If Missing
This page is under construction.
- Plugin Key
- Plugin Value Type
- Plugin Value Format
The strings are
printfformat strings that expand to regular expressions used to match against URLs. The
printfformat strings accept expressions made of plugin configuration parameter keys.
<entry> <string>au_repair_from_peer_if_missing_url_pattern</string> <list> <string>"^%s.*\.(css|js|png|jpe?g|png|gif|tiff)\?ver=.*$", base_url</string> <string>"^https://code\.jquery\.org/"</string> </list> </entry>
When this feature is set, if during a poll the poller determines it is missing a URL that matches one of the patterns, it will seek a repair from a peer. This can be useful when a family of URLs keeps getting new variants (with unique names) rapidly, to allow the variants to spread among the network of peers.