Welcome! Log In Create A New Profile

Advanced

problems setting ttl on single image...

December 29, 2013 07:04PM
I'm trying to enable a 10 minute autorefresh for my webcam which you can
see at http://www.diamondharbour.org.nz/Local-Weather.html

Server runs nginx 1.4.4 ( and an ancient CMS called Etomite ).

Here's the WPT result http://www.webpagetest.org/result/131229_HV_MK2/

Here's a snippet of my config...

location = /assets/Photo\ Gallery/Weather/current\.jpg {
expires 10m;
log_not_found off;
}

location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
expires max;
log_not_found off;
}

Why is is not setting a 10 minute expiry - the webpagetest report should
pick up on it??? I'm sort of expecting that it may have something to do
with the space in the URL?

Any pointers gratefully received (:


Steve
--
Steve Holdoway BSc(Hons) MIITP
http://www.greengecko.co.nz
Linkedin: http://www.linkedin.com/in/steveholdoway
Skype: sholdowa

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

problems setting ttl on single image...

GreenGecko December 29, 2013 07:04PM

Re: problems setting ttl on single image...

Richard Stanway December 29, 2013 08:06PM

Re: problems setting ttl on single image...

GreenGecko December 29, 2013 08:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 298
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready