Description
Define a local text replacement for all indexed urls.
The replacement is performed before the url is retrieved remotely.
If a replacement occurred, a local file with the resulting url will be tentatively retrieved.
In case of failure, including non-existent files and read errors, the remote url will be retrieved normally.
Using this option, you might dramatically speed-up the indexing process.
Moreover, this directive supports virtual if-Modified-Since. A file that has a modification time-stamp in the past from
the one in the current database, the contents will be reported as 304 Not Modified.
When used in conjunction with the Index.html
directive, documents
such as http://www.foo.com/ can be retrieved locally as well.
With the RegExp
option enabled, the source and target
parameters must be regular expressions. For regular expressions syntaxes, see the
RegExp
section. This option has the RegExp ReplaceLocal
extension since version 1.6.
This option was added in version 1.32.