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

Feature request #4

Open
splitice opened this issue Mar 14, 2015 · 2 comments
Open

Feature request #4

splitice opened this issue Mar 14, 2015 · 2 comments

Comments

@splitice
Copy link
Contributor

Hi,

I have taken a look at your module, it looks interesting. Any chance of a feature request? http_accounting_skip when non zero skip accounting for this request. This is similar to proxy_cache_skip and its kin.

This would allow for usage in say cached responses or certain cases to be ignored.

@Lax
Copy link
Owner

Lax commented Apr 8, 2015

Hi @splitice ,
Can you give more conf snippet to show the usage?

@splitice
Copy link
Contributor Author

splitice commented Apr 8, 2015

Something like -

map $srcache_fetch_status $acct {
   "HIT" 1
   default "" #or 0
}
location / {
....
    http_accounting_skip $acct;
...
}

This should probably take place in the log phase,

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

2 participants