Hello.
Please, can I ask why Nginx is not caching this content ?
May be problem this "?width=" ? If yes, is there any way howto solve it and make it work ?
...
location /Images/ {
proxy_pass https://cdn.kallen.cz;
include /etc/nginx/proxy_params;
include /etc/nginx/proxy_cache_params.conf;
proxy_cache cdn;
}
...
Log output
85.13.68.14 - MISS [27/Sep/2019:23:59:49 +0200] "GET /Images/Product/50913065/?width=180&ts=699192833229900000 HTTP/2.0" 200 9599 "https://www.kallen.cz/pocitace/?pageSize=300" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.1 Safari/605.1.15"
85.13.68.14 - MISS [27/Sep/2019:23:59:49 +0200] "GET /Images/Product/46326525/?width=180&ts=636891807200200000 HTTP/2.0" 200 32500 "https://www.kallen.cz/pocitace/?pageSize=300" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.1 Safari/605.1.15"
85.13.68.14 - MISS [27/Sep/2019:23:59:49 +0200] "GET /Images/Product/55333410/?width=180&ts=636988148159500000 HTTP/2.0" 200 23607 "https://www.kallen.cz/pocitace/?pageSize=300" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.1 Safari/605.1.15"
Thanks for help.
Petr