---
name: "LWP::UserAgent::Role::CHICaching::VaryNotAsterisk"
section: "3pm"
platform: "linux"
package: "liblwp-useragent-chicaching-perl"
version: "0.04-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/LWP::UserAgent::Role::CHICaching::VaryNotAsterisk"
---

# LWP::UserAgent::Role::CHICaching::VaryNotAsterisk(3pm)

A role for when Vary is not \* when caching LWP::UserAgent

## NAME

LWP::UserAgent::Role::CHICaching::VaryNotAsterisk - A role for when Vary is not \* when caching LWP::UserAgent

## SYNOPSIS

See LWP::UserAgent::Role::CHICaching.

## DESCRIPTION

See LWP::UserAgent::Role::CHICaching::SimpleKeyGen for a background. Basically, this module does the second dumbest thing, but in doing so, the User Agent ceases to be compliant with the HTTP standard. You basically have to implement your own `"key"` attribute to make it compliant.

### Attributes and Methods

- "cache\_vary"

  Allow a response with a `"Vary"` header to be cached if it doesn't contain an asterisk (\*).

## AUTHOR

Kjetil Kjernsmo \<kjetilk@cpan.org\>.

## COPYRIGHT AND LICENCE

This software is copyright (c) 2015, 2016 by Kjetil Kjernsmo.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
