Hi, I've got Apache httpd 2.4.62 running as a reverse proxy on Windows. I'm using mod_cache/mod_cache_disk to cache the files retrieved from an upstream server so that other clients making the same request will have a shorter trip. I'm trying to use mod_bw to throttle the bandwidth used by clients requesting cached content. So far the behavior I see is:
1. After service restart, the first download of the cached content is throttled as expected 2. Subsequent requests for the same content are not throttled and use max bandwidth I'm specifying the directives inside a <Location> as I only want requests from this URL path to be throttled. LoadModule bw_module modules/mod_bw.so <IfModule bw_module> <Location "/my_path"> BandWidthModule On ForceBandWidthModule On MaxConnection 127.0.0.1 0 BandWidth 127.0.0.1 0 MaxConnection all 50 BandWidth all 1048576 </Location> </IfModule> I've tried this configuration both inside and outside of a <VirtualHost> but the behavior is similar. Anyone have experience using mod_bw with a cache? Or suggestions on another way to achieve this? Thanks. Patrick -- This electronic communication and the information and any files transmitted with it, or attached to it, are confidential and are intended solely for the use of the individual or entity to whom it is addressed and may contain information that is confidential, legally privileged, protected by privacy laws, or otherwise restricted from disclosure to anyone else. If you are not the intended recipient or the person responsible for delivering the e-mail to the intended recipient, you are hereby notified that any use, copying, distributing, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. If you received this e-mail in error, please return the e-mail to the sender, delete it from your computer, and destroy any printed copy of it.
smime.p7s
Description: S/MIME Cryptographic Signature