Both mod_httapi and mod_http_cache appear to generate a hash based on the enrire URL, including query parameters, and use that as the filename for the cached file.
This works fine in most cases, but is a problem when cahcing files from AWS S3 using presigned URLS. This is because the query parameters are different each time a specific file is requested, resulting in the same file being cached multiple times, with a different name.
Is there a way of instructing mod_httapi or mod_http_cache to ignore the URL query parameters and, instead, use only the main URL (everything left of the ‘?’)?
For example, given the URL string “https://somedomain.com/files/sound.wav?data=1234&key=5678”, I want to cache the downloaded file using only “https://somedomain.com/files/sound.wav” to generate the cached filename
Thanks