Performance enhancement for BE: (1) caching images in typo3/gfx and typo3/sysext...
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Thu, 31 Aug 2006 08:26:43 +0000 (08:26 +0000)
committerDmitry Dulepov <dmitry.dulepov@gmail.com>
Thu, 31 Aug 2006 08:26:43 +0000 (08:26 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1700 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/gfx/.htaccess [new file with mode: 0644]
typo3/sysext/.htaccess [new file with mode: 0644]
typo3/sysext/t3skin/stylesheets/.htaccess [new file with mode: 0644]

index 042fe2a..705aca8 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,6 @@
+2006-08-31  Dmitry Dulepov  <typo3@accio.lv>
+
+       * Performance enhancement for BE: (1) caching images in typo3/gfx and typo3/sysext; (2) caching CSS files in typo3/sysext/t3skin/stylesheets
 
 2006-08-30  Martin Kutschker  <martin.t.kutschker@blackbox.net>
 
diff --git a/typo3/gfx/.htaccess b/typo3/gfx/.htaccess
new file mode 100644 (file)
index 0000000..84106a3
--- /dev/null
@@ -0,0 +1,7 @@
+<FilesMatch "\.(gif|png|jpg)">
+    <IfModule mod_expires.c>
+        ExpiresActive on
+        ExpiresDefault "access plus 7 days"
+    </IfModule>
+FileETag MTime Size
+</FilesMatch>
diff --git a/typo3/sysext/.htaccess b/typo3/sysext/.htaccess
new file mode 100644 (file)
index 0000000..84106a3
--- /dev/null
@@ -0,0 +1,7 @@
+<FilesMatch "\.(gif|png|jpg)">
+    <IfModule mod_expires.c>
+        ExpiresActive on
+        ExpiresDefault "access plus 7 days"
+    </IfModule>
+FileETag MTime Size
+</FilesMatch>
diff --git a/typo3/sysext/t3skin/stylesheets/.htaccess b/typo3/sysext/t3skin/stylesheets/.htaccess
new file mode 100644 (file)
index 0000000..5bd2e5a
--- /dev/null
@@ -0,0 +1,7 @@
+<FilesMatch "\.css">
+    <IfModule mod_expires.c>
+        ExpiresActive on
+        ExpiresDefault "access plus 7 days"
+    </IfModule>
+FileETag MTime Size
+</FilesMatch>