Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the relationship between records.config and cache.config? #4066

Closed
bestbugwriter opened this issue Aug 6, 2018 · 2 comments
Closed

Comments

@bestbugwriter
Copy link

I have configuration as fellow:
records.config
CONFIG proxy.config.http.cache.http INT 1
cache.config
url_regex=http://.* suffix=jpg action=never-cache

and TS can cache all object but jpg url, it is ok.


but when I modify config as fellow
records.config
CONFIG proxy.config.http.cache.http INT 0
cache.config
url_regex=http://.* suffix=jpg revalidate=12h

and TS never cache any object, include jpg url.

so What is the relationship between records.config and cache.config? how can cache only configuration use suffix= ?

@mlibbey
Copy link
Contributor

mlibbey commented Nov 13, 2018

CONFIG proxy.config.http.cache.http INT 0 in records.config means turning off the cache entirely -- it overrides everything else.

@bryancall
Copy link
Contributor

If this is still an issue please reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants