[TYPO3-dev] Website optimization with cache expiration

Dmitry Dulepov dmitry.dulepov at gmail.com
Fri Jun 5 15:04:21 CEST 2009


Hi!

Sebastian Gebhard wrote:
> I tested my TYPO3 site with the new Google Page Speed (or I tested Page
> Speed with my TYPO3 site, just how you want) and it claimed that all my
> graphics are missing a cache expiration.

Yes, they do (at least some of them). Here is your .htaccess:

> ExpiresByType image/jpg A3592000

Here is your server response:

> Content-Type image/jpeg

Do you see the problem now? :)

In addition your Apache should have "AllowOverride all" or "AllowOverride Indexes". ExpiresByType in .htaccess requires AllowOverride.

-- 
Dmitry Dulepov
In the TYPO3 blog: http://dmitry-dulepov.com/article/macintosh-vs-hackintosh.html
LinkedIn: http://www.linkedin.com/in/dmitrydulepov
Twitter: http://twitter.com/dmitryd
Skype: liels_bugs




More information about the TYPO3-dev mailing list