Welcome! Log In Create A New Profile

Advanced

Re: How to cache image urls with query strings?

Nelson Marcos
February 24, 2017 08:52AM
Hi Oliver!

How is your proxy_cache_key configured?



Um abraço,
NM

2017-02-24 9:33 GMT-03:00 0liver <nginx-forum@forum.nginx.org>:

> We've recently started delivering image urls with query strings for
> cropping, like
>
> http://images-camping.info/CampsiteImages/116914_Large.
> jpg?width=453&height=302&mode=crop
>
> We've also successfully been using the NGINX cache for our images *before*
> adding the query strings.
>
> Unfortunately, with the query strings added, caching does not work anymore
> and all requests to above URL are passed to the upstream server. You can
> see
> this by inspecting the HTTP response headers for above url: X-Cache-Status
> is always MISS.
>
> Can anybody point to me to the necessary pieces of information to get
> caching for resources with query strings to work?
>
> Posted at Nginx Forum: https://forum.nginx.org/read.
> php?2,272608,272608#msg-272608
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

How to cache image urls with query strings?

0liver February 24, 2017 07:33AM

Re: How to cache image urls with query strings?

Nelson Marcos February 24, 2017 08:52AM

Re: How to cache image urls with query strings?

0liver February 24, 2017 09:23AM

Re: How to cache image urls with query strings?

jeanpaul February 26, 2017 05:12AM

Re: How to cache image urls with query strings?

dewanggaba February 24, 2017 09:44AM

Re: How to cache image urls with query strings?

Francis Daly March 04, 2017 07:04AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 271
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