Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

.htaccess file added

realabbas561b38b440589
diff --git a/.htaccess b/.htaccess
new file mode 100644
index 000000000..df585e5f0
--- /dev/null
+++ b/.htaccess
@@ -0,0 +1,24 @@
+<IfModule mod_expires.c>
+ ExpiresActive On
+
+ # Images
+ ExpiresByType image/jpeg "access plus 1 year"
+ ExpiresByType image/gif "access plus 1 year"
+ ExpiresByType image/png "access plus 1 year"
+ ExpiresByType image/webp "access plus 1 year"
+ ExpiresByType image/svg+xml "access plus 1 year"
+ ExpiresByType image/x-icon "access plus 1 year"
+
+ # Video
+ ExpiresByType video/mp4 "access plus 1 year"
+ ExpiresByType video/mpeg "access plus 1 year"
+
+ # CSS, JavaScript
+ ExpiresByType text/css "access plus 1 month"
+ ExpiresByType text/javascript "access plus 1 month"
+ ExpiresByType application/javascript "access plus 1 month"
+
+ # Others
+ ExpiresByType application/pdf "access plus 1 month"
+ ExpiresByType application/x-shockwave-flash "access plus 1 month"
+</IfModule>
\ No newline at end of file