Home > Programming, Servers & Scripts >

how to speed LP's on Amazon S3 - CDN? (1)


03-11-2017 04:04 PM #1 roykoda (Member)
how to speed LP's on Amazon S3 - CDN?

Hi guys,

I was performing pingdom's speed tests on my landers hosted on Amazon S3 and distributed by Cloudfront.

I got two issues:

1. "Leverage browser caching":
it asks me to specify an expiration at least one week in the future for the some resources.
I followed the tutorial
http://docs.aws.amazon.com/AmazonClo...onDownloadDist

I set one month expiration (in seconds) for every file, but I did not solve this error.

2. "Specify a Vary: Accept-Encoding header":
it says that my lander "publicly cacheable, compressible resources should have a "Vary: Accept-Encoding" header"...

Here I have no clue on how to proceed.

any advice will be very appreciated.


Home > Programming, Servers & Scripts >