Need Assistance in Configuring Varnish to Retain and Ignore Unique Parameter in Request URL while caching
Geoff Simmons
geoff at uplex.de
Thu Jun 1 07:15:43 UTC 2023
On 6/1/23 03:47, Uday Kumar wrote:
>
> Our Requirements:
[...]
> 3. Allowed Characters are Alphanumeric which are *URL safe* [can be
> lowercase, uppercase in case of alphabets]
[...]
This time you didn't mention a requirement of exactly 20 characters. If
that's not strictly required, it's worth pointing out that the hyphen
character '-' is also URL safe.
So in that case you could just use the standard 36-character
representation of a UUID, with its four hyphens. It would save you the
trouble of regex matching and substitution, as Guillaume spelled out.
Best,
Geoff
--
** * * UPLEX - Nils Goroll Systemoptimierung
Scheffelstraße 32
22301 Hamburg
Tel +49 40 2880 5731
Mob +49 176 636 90917
Fax +49 40 42949753
http://uplex.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <https://www.varnish-cache.org/lists/pipermail/varnish-misc/attachments/20230601/638d99e4/attachment-0001.bin>
More information about the varnish-misc
mailing list