| 663 | } |
| 664 | |
| 665 | apr_status_t cache_generate_key_default(request_rec *r, apr_pool_t* p, |
| 666 | const char **key) |
| 667 | { |
| 668 | /* In early processing (quick-handler, forward proxy), we want the initial |
| 669 | * query-string from r->parsed_uri, since any change before CACHE_SAVE |
| 670 | * shouldn't modify the key. Otherwise we want the actual query-string. |
| 671 | */ |
| 672 | const char *path = r->uri; |
| 673 | const char *query = r->args; |
| 674 | if (cache_use_early_url(r)) { |
| 675 | path = r->parsed_uri.path; |
| 676 | query = r->parsed_uri.query; |
| 677 | } |
| 678 | return cache_canonicalise_key(r, p, path, query, &r->parsed_uri, key); |
| 679 | } |
| 680 | |
| 681 | /* |
| 682 | * Invalidate a specific URL entity in all caches |
nothing calls this directly
no test coverage detected