Solarisbf commented on issue #11756:
URL: 
https://github.com/apache/trafficserver/issues/11756#issuecomment-2336898111

   hello @bneradt 
   
   you comment is absolutely right 
   
   PCRE Regex `.` is any so .*\.jpg is right.
   
   `/*` had worked well, so i thought `/*\.jpg` would work well on regex 
revalidate plugin
   
   
   `https://jinyong-test-3.s3.ap-northeast-2.amazonaws.com/dog/.*\.jpg 
1725842200 MISS`
   
   ```
   root@ats-dev2:/opt/ts/etc/trafficserver# curl -v -H "X-Debug: X-Cache" 
http://localhost/dog/dog1.jpg
   *   Trying 127.0.0.1:80...
   * Connected to localhost (127.0.0.1) port 80 (#0)
   > GET /dog/dog1.jpg HTTP/1.1
   > Host: localhost
   > User-Agent: curl/7.81.0
   > Accept: */*
   > X-Debug: X-Cache
   >
   * Mark bundle as not supporting multiuse
   < HTTP/1.1 200 OK
   < x-amz-id-2: 
TzuD3HsHdmY2BrVo4jbAeu0DRBy7FfjbGx4tXcBj2/28UKu+p6HaDv3I9nElFRymKQk2xd9zEu2/3o8UGEOPPg==
   < x-amz-request-id: H5J2MQ2YX2GCYBHQ
   < Date: Mon, 09 Sep 2024 00:36:50 GMT
   < Last-Modified: Thu, 05 Sep 2024 05:26:20 GMT
   < ETag: "a82df4e00d6474b411fe18b26ece5971"
   < x-amz-server-side-encryption: AES256
   < Accept-Ranges: bytes
   < Content-Type: image/jpeg
   < Server: ATS/10.0.0
   < Content-Length: 64396
   < Age: 0
   < Connection: keep-alive
   < X-Cache: miss
   <
   Warning: Binary output can mess up your terminal. Use "--output -" to tell
   Warning: curl to output it to your terminal anyway, or consider "--output
   Warning: <FILE>" to save to a file.
   * Failure writing output to destination
   * Closing connection 0
   ```
   
   thanks for your scrupulous help @bneradt !!!!!!!
   
   have a nice day
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to