2803media commented on issue #9939:
URL: https://github.com/apache/trafficserver/issues/9939#issuecomment-1618859857

   @mlibbey is something like that relevant for you?
   
   ```
   <IfModule mod_expires.c>
                   ExpiresActive on
                   ExpiresDefault "access plus 1 day"                         
                   ExpiresByType image/jpg "access plus 60 days"
                   ExpiresByType image/png "access plus 60 days"
                   ExpiresByType image/gif "access plus 60 days"
                   ExpiresByType image/jpeg "access plus 60 days"
                   ExpiresByType image/webp "access plus 60 days"
                   ExpiresByType text/css "access plus 1 days"
                   ExpiresByType application/x-protobuf "access plus 60 days"
                   ExpiresByType image/x-icon "access plus 1 month"
                   ExpiresByType text/javascript "access plus 1 week"
                   ExpiresByType application/x-javascript "access plus 1 week"
                   ExpiresByType application/javascript "access plus 1 week"
           </IfModule>
           <filesMatch 
".(css|jpg|jpeg|png|gif|js|ico|woff|woff2|ttf|svg|webp|pbf)$">
                   Header set Cache-Control "max-age=8380800, public"
           </filesMatch>
   
   //the specific rule for my content updated each day
           <LocationMatch "/data/daily*">
                   <IfModule mod_expires.c>
                           ExpiresByType application/x-protobuf "access plus 1 
hour"
                   </IfModule>   
                   Header set Cache-Control "max-age=3600, public"
           </LocationMatch>
   ```


-- 
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: issues-unsubscr...@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to