Cache static
|
11-23-2010, 12:05 AM
Post: #1
|
|||
|
|||
Cache static
Hello!
I am trying to implement CloudFront CDN with Custom Origin (CloudFront pulls the data from my web server). But when I test the page, I see this: http://www.webpagetest.org/result/101122...on/cached/ I use Drupal and I put on the CDN the ImageCache files, generated from Drupal. I use Nginx instead of Apache, and php-fpm. I've configured Nginx to set correct headers, but somehow this is not reflected by the CloudFront. I use this directive to serve the images from Nginx: # serve static files directly location ~* ^.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|swf|flv)$ { access_log off; expires max; add_header Cache-Control max-age=315360000; } But maybe this is not enough? From the graphic I see, that CloudFront don't get my Expire headers. Any advice is welcome! Thanks in advance! |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Cache static - terko - 11-23-2010 12:05 AM
RE: Cache static - pmeenan - 11-23-2010, 12:21 AM
RE: Cache static - terko - 11-23-2010, 12:44 AM
RE: Cache static - pmeenan - 11-23-2010, 01:20 AM
RE: Cache static - terko - 11-23-2010, 03:04 AM
RE: Cache static - sajal - 11-23-2010, 07:30 AM
RE: Cache static - p83822 - 11-23-2010, 10:28 AM
RE: Cache static - pmeenan - 11-23-2010, 03:59 AM
RE: Cache static - terko - 11-23-2010, 10:21 PM
RE: Cache static - Bushido - 06-22-2011, 11:51 AM
|
User(s) browsing this thread: 1 Guest(s)