Skip to content
Snippets Groups Projects
Commit 180abc82 authored by Steffen Gebert's avatar Steffen Gebert
Browse files

Fixed bug #17181: Add Expires header to _.htaccess

git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@10206 709f56b5-9817-0410-a4d7-c38de5d9e867
parent 49ec8b50
Branches
Tags
No related merge requests found
...@@ -30,6 +30,7 @@ ...@@ -30,6 +30,7 @@
2011-01-21 Steffen Gebert <steffen@steffen-gebert.de> 2011-01-21 Steffen Gebert <steffen@steffen-gebert.de>
   
* Fixed bug #17167: Cache ExtDirect::getAPI calls * Fixed bug #17167: Cache ExtDirect::getAPI calls
* Fixed bug #17181: Add Expires header to _.htaccess
   
2011-01-21 Stanislas Rolland <typo3@sjbr.ca> 2011-01-21 Stanislas Rolland <typo3@sjbr.ca>
   
......
...@@ -51,6 +51,24 @@ ...@@ -51,6 +51,24 @@
### End: Compression via TYPO3 ### ### End: Compression via TYPO3 ###
### Begin: Browser caching of ressource files ###
# Enable long browser caching for JavaScript and CSS files.
# This affects Frontend and Backend and increases performance.
# You can also add other file extensions (like gif, png, jpg), if you want them to be longer caced, too.
<FilesMatch "\.(js|css)$">
<IfModule mod_expires.c>
ExpiresActive on
ExpiresDefault "access plus 7 days"
</IfModule>
FileETag MTime Size
</FilesMatch>
### End: Browser caching of ressource files ###
### Begin: Settings for mod_rewrite ### ### Begin: Settings for mod_rewrite ###
# You need rewriting, if you use a URL-Rewriting extension (RealURL, CoolUri, SimulateStatic). # You need rewriting, if you use a URL-Rewriting extension (RealURL, CoolUri, SimulateStatic).
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment