ec2-metadatafs icon indicating copy to clipboard operation
ec2-metadatafs copied to clipboard

Add caching of tags

Open jszwedko opened this issue 10 years ago • 2 comments

With a configurable cache TTL so that we don't hammer the AWS API as much.

jszwedko avatar Feb 24 '16 01:02 jszwedko

I'd also say cache the 169.254.169.254 for a bit too, when I run ec2-metadatafs with DEBUG in foreground and autocomplete like /tmp/aws/metTAB/instTAB there are a lot of HTTP requests.

joshuadfranklin avatar Feb 28 '16 13:02 joshuadfranklin

Agreed, I'll open a separate issue for caching the metadata service.

jszwedko avatar Feb 28 '16 17:02 jszwedko