This is an automated email from the ASF dual-hosted git repository.

bdelacretaz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/comdev-site.git


The following commit(s) were added to refs/heads/main by this push:
     new ffcf68cd Generate cache-related HTTP headers
ffcf68cd is described below

commit ffcf68cd77d07bfd106f0425323aeb8258ba0710
Author: Bertrand Delacretaz <[email protected]>
AuthorDate: Thu Nov 7 15:40:00 2024 +0100

    Generate cache-related HTTP headers
    
    As discussed on #asfinfra today
---
 static/.htaccess | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/static/.htaccess b/static/.htaccess
index c1b8927a..cdf29bcb 100644
--- a/static/.htaccess
+++ b/static/.htaccess
@@ -1,3 +1,8 @@
+<IfModule mod_expires.c>
+  ExpiresActive On
+  ExpiresDefault "access plus 1 hour"
+</IfModule>
+
 Redirect /gsoc.html /gsoc/
 Redirect /gsoc-admin-tasks.html /gsoc/gsoc-admin-tasks.html
 Redirect /guide-to-being-a-mentor.html /gsoc/guide-to-being-a-mentor.html

Reply via email to