]> git.ipfire.org Git - thirdparty/squid.git/commit - src/store/id_rewriters/file/storeid_file_rewrite.pl.in
Add storeid_file_rewrite helper
authorAlan Mizrahi <alan@mizrahi.com.ve>
Tue, 9 Jul 2013 11:15:51 +0000 (05:15 -0600)
committerAmos Jeffries <squid3@treenet.co.nz>
Tue, 9 Jul 2013 11:15:51 +0000 (05:15 -0600)
commit0d5ee502d62b98f4578f0562153877274ae40e3c
treed31201f9d6eec2296814d3ec1ad7db39d32e9942
parentee80a91989a64b42e02e7bc8939c427afc66049e
Add storeid_file_rewrite helper

Based on work by Eliezer Croitoru <eliezer@ngtech.co.il>

This program acts as a Store-ID helper program, rewriting URLs passed
by Squid into storage-ids that can be used to achieve better caching
for websites that use different URLs for the same content.

It takes a text file with two tab separated columns.
 Column 1: Regular expression to match against the URL
 Column 2: Rewrite rule to generate a Store-ID

Rewrite rules are matched in the same order as they appear in the file.
So for best performance, sort it in order of frequency of occurrence.
configure.ac
doc/release-notes/release-3.4.sgml
helpers/Makefile.am
helpers/storeid_rewrite/Makefile.am [new file with mode: 0644]
helpers/storeid_rewrite/file/Makefile.am [new file with mode: 0644]
helpers/storeid_rewrite/file/required.m4 [new file with mode: 0755]
helpers/storeid_rewrite/file/storeid_file_rewrite.pl.in [new file with mode: 0644]
helpers/storeid_rewrite/modules.m4 [new file with mode: 0644]