A
A
Andrew2017-03-02 11:56:03
Nginx
Andrew, 2017-03-02 11:56:03

Nginx control cash max ege 0?

Hello. I have VPS hosting with VESTA panel.
Problem: for images and some files, it is necessary to return the title control cash max ege = 0
Dozens of titles have been tried. Either caching is completely removed, or max ege = 32564646 (unnecessary numbers)


location ~* ^.+\.(rss|atom|jpg|jpeg|gif|png|ico|rtf|js|css)$ {
// Dozens of options for passing this header were written here
}

If anyone has met this?
Maybe there are directives in the settings that overlap our header?
Thanks in advance!

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Puma Thailand, 2017-03-02
@opium

well, max age = 0 and there is completely remove caching.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question