9729: Ship optimal TYPO3 configuration by default
authorDmitry Dulepov <dmitry.dulepov@gmail.com>
Tue, 17 Feb 2009 19:12:15 +0000 (19:12 +0000)
committerDmitry Dulepov <dmitry.dulepov@gmail.com>
Tue, 17 Feb 2009 19:12:15 +0000 (19:12 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5027 709f56b5-9817-0410-a4d7-c38de5d9e867

12 files changed:
ChangeLog
NEWS.txt
typo3/contrib/.htaccess [new file with mode: 0644]
typo3/contrib/_.htaccess [deleted file]
typo3/gfx/.htaccess [new file with mode: 0644]
typo3/gfx/_.htaccess [deleted file]
typo3/mod/user/ws/.htaccess [new file with mode: 0644]
typo3/mod/user/ws/_.htaccess [deleted file]
typo3/sysext/.htaccess [new file with mode: 0644]
typo3/sysext/_.htaccess [deleted file]
typo3/sysext/t3skin/stylesheets/.htaccess [new file with mode: 0644]
typo3/sysext/t3skin/stylesheets/_.htaccess [deleted file]

index a3d5513..8ef7a91 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-02-17  Dmitry Dulepov  <dmitry@typo3.org>
+
+       * Fixed bug #9729: Ship optimal TYPO3 configuration by default
+
 2009-02-17  Steffen Kamper  <info@sk-typo3.de> 
 
        * Fixed Bug #10338: Feature: NewRecordWizard with grouping and sorting 
index 306e104..9991c6d 100644 (file)
--- a/NEWS.txt
+++ b/NEWS.txt
@@ -138,6 +138,11 @@ Speed improvements
          In the past, all available class files for frontend plugins were loaded so this new
          feature increases performance by reducing memory consumption.
 
+       * TYPO3 now enables client caching of JavaScript, CSS and image files by using .htaccess
+         files in various directories. This may cause problems if mod_expires is not enabled
+         in the Apache configuration. See the FAQ section in the INSTALL.txt about disabling
+         these files if necessary.
+
 Important bugfixes
 ==================
 
diff --git a/typo3/contrib/.htaccess b/typo3/contrib/.htaccess
new file mode 100644 (file)
index 0000000..823a6bf
--- /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/contrib/_.htaccess b/typo3/contrib/_.htaccess
deleted file mode 100644 (file)
index 42e2f9b..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<FilesMatch "\.(css|js|png|gif)$">
-       <IfModule mod_expires.c>
-               ExpiresActive on
-               ExpiresDefault "access plus 7 days"
-       </IfModule>
-       FileETag MTime Size
-</FilesMatch>
diff --git a/typo3/gfx/.htaccess b/typo3/gfx/.htaccess
new file mode 100644 (file)
index 0000000..823a6bf
--- /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/gfx/_.htaccess b/typo3/gfx/_.htaccess
deleted file mode 100644 (file)
index 823a6bf..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<FilesMatch "\.(gif|png|jpg)$">
-       <IfModule mod_expires.c>
-               ExpiresActive on
-               ExpiresDefault "access plus 7 days"
-       </IfModule>
-       FileETag MTime Size
-</FilesMatch>
diff --git a/typo3/mod/user/ws/.htaccess b/typo3/mod/user/ws/.htaccess
new file mode 100644 (file)
index 0000000..bc54bf1
--- /dev/null
@@ -0,0 +1,7 @@
+<FilesMatch "\.(gif|png)$">
+       <IfModule mod_expires.c>
+               ExpiresActive on
+               ExpiresDefault "access plus 7 days"
+       </IfModule>
+       FileETag MTime Size
+</FilesMatch>
diff --git a/typo3/mod/user/ws/_.htaccess b/typo3/mod/user/ws/_.htaccess
deleted file mode 100644 (file)
index bc54bf1..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<FilesMatch "\.(gif|png)$">
-       <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..823a6bf
--- /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
deleted file mode 100644 (file)
index 823a6bf..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<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..f24895b
--- /dev/null
@@ -0,0 +1,7 @@
+<FilesMatch "\.css$">
+       <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
deleted file mode 100644 (file)
index f24895b..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-<FilesMatch "\.css$">
-       <IfModule mod_expires.c>
-               ExpiresActive on
-               ExpiresDefault "access plus 7 days"
-       </IfModule>
-       FileETag MTime Size
-</FilesMatch>