Scroll to navigation

LWP::UserAgent::Role::CHICaching::VaryNotAsterisk(3pm) User Contributed Perl Documentation LWP::UserAgent::Role::CHICaching::VaryNotAsterisk(3pm)

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.

2022-05-28 perl v5.34.0