Bonjour ,

J'ai utilisé l'outil Page Speed afin d'évaluer les performances des pages de mon site et j'ai obtenu comme suggestion d'amélioration :

Spécifier une technique de mise en cache

pourtant dans mon fichier .htaccess j'ai :
<IfModule mod_expires.c>
        ExpiresActive On
        ExpiresDefault "access plus 10 years"
        <FilesMatch .*\.(php|phtml|shtml|html|xml)$>
        ExpiresActive Off
        </FilesMatch>
        <FilesMatch "\.(ico|pdf|flv|swf|jpe?g|png|gif|bmp|js|css)$">
        Header unset Last-Modified
        FileETag MTime
        </FilesMatch>
   

# Set up caching on images, CSS and JS files for 1 week
<FilesMatch "\.(gif|jpg|jpeg|png|js|css)$">
ExpiresDefault "access plus 1 week"
</FilesMatch>

# Set up 1 hour caching on commonly updated files
<FilesMatch "\.(xml|xsl|html|htm|txt)$">
ExpiresDefault "access plus 1 hour"
</FilesMatch>

# Force no caching for dynamic files
<FilesMatch "\.(php|cgi|pl)$">
ExpiresActive Off
</FilesMatch>
</IfModule>

   
   <IfModule mod_headers.c>
# Remote ETag from headers
Header unset ETag

# Disable ETag for files
FileETag None

# Media files are catchable
<FilesMatch "\.(flv|ico|pdf|avi|mov|ppt|doc|mp3|wmv|wav|swf)$">
Header append Cache-Control "public"
</FilesMatch>

# Images, css and javascript files are catchable
<FilesMatch "\.(gif|jpg|jpeg|png|js|css)$">
Header append Cache-Control "public"
</FilesMatch>

# Commonly updated files are catchable
<FilesMatch "\.(xml|html|htm|txt)$">
Header append Cache-Control "public"
</FilesMatch>

# Force no caching for dynamic files
<FilesMatch "\.(php|cgi|pl|htm)$">
Header set Cache-Control "private, no-cache, no-store, proxy-revalidate, no-transform"
Header set Pragma "no-cache"
</FilesMatch>

</IfModule>


Merci d'avance à vos aides.