Bonjour,

J'ai un soucis sur la mise en cache sur le Expires.

Malgré plusieurs modification sur mon fichier .htaccess j'ai toujours les erreurs. Je ne vois pas ou ce situe le probleme

Voici les liens qui non pas de cache


 www.mon-domaine.com/js/products.js.p[...]?productId=2515728
 
 www.mon-domaine.com/js/show-ad.js.ph[...]418800+1572022322&
 
 https://www.mon-domaine.com/js/show-ad.js.php?pg=1000&bl=R1&pt=Chaussures+bateau&bs=&gi=&heartbeat=0.56418800+1572022322&
 
 www.mon-domaine.com/js/show-ad.js.ph[...]225900+1572022322&
 
 www.mon-domaine.com/js/show-ad.js.ph[...]227000+1572022322&
 
 www.mon-domaine.com/product-thumb.ph[...]fab51d71e74af3.jpg
 
 https://www.mon-domaine.com/js/kCommons.js.php?isMemberPage=
 
 www.mon-domaine.com/images/chaussure[...]515728-150x150.jpg
 


voici mon htaccess

## Compression Gzip
<IfModule mod_deflate.c>

	# Active le filtre compression
	SetOutputFilter DEFLATE
	
	# Applique la compression sur les fichiers de type mime défini
	AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml application/x-javascript application/javascript application/x-httpd-php image/svg+xml application/xhtml+xml application/xml application/rss+xml application/atom_xml
	
	# Gestion pour les navigateurs incompatibles
	BrowserMatch ^Mozilla/4 gzip-only-text/html
	BrowserMatch ^Mozilla/4\.0[678] no-gzip
	BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
	BrowserMatch \bMSI[E] !no-gzip !gzip-only-text/html

	# Ne pas mettre en cache si ces fichiers le sont deja
	SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip
	
	# Les proxies doivent donner le bon contenu
	<IfModule mod_headers.c>
		Header append Vary User-Agent env=!dont-vary
	</IfModule>

</IfModule>
## END Compression Gzip


# Use HTTP Strict Transport Security to force client to use secure connections only Header always set Strict-Transport-Security "max-age=300; includeSubDomains; preload"


## Expire headers
<IfModule mod_expires.c>
	ExpiresActive On
	ExpiresDefault 										"access plus 1 month"

	# Media files
	ExpiresByType audio/ogg								"access plus 1 month"
	ExpiresByType image/bmp								"access plus 1 month"
	ExpiresByType image/gif								"access plus 1 month"
	ExpiresByType image/jpeg							"access plus 1 month"
	ExpiresByType image/jpg								"access plus 1 month"
	ExpiresByType image/png								"access plus 1 month"
	ExpiresByType video/mp4								"access plus 1 month"
	ExpiresByType video/ogg								"access plus 1 month"
	ExpiresByType video/webm							"access plus 1 month"
	
	# Icon files
	AddType image/x-icon .ico
	ExpiresByType image/ico 							"access plus 1 month"
	ExpiresByType image/icon 							"access plus 1 month"
	ExpiresByType image/x-icon 							"access plus 1 month"
	
	# Text files
	ExpiresByType text/css 								"access plus 1 month"
	ExpiresByType text/javascript 						"access plus 1 month"
	ExpiresByType text/x-javascript 						"access plus 1 month"
	ExpiresByType text/html 							"access plus 7200 seconds"
	
	# Application files
	ExpiresByType application/xhtml+xml 				"access plus 7200 seconds"
	ExpiresByType application/javascript 				"access plus 1 month"
	ExpiresByType application/x-javascript				"access plus 1 month"
	ExpiresByType application/x-shockwave-flash 		"access plus 1 month"

	# Web fonts
	AddType application/font-woff2 .woff2
	ExpiresByType application/font-woff					"access plus 1 month"
	ExpiresByType application/font-woff2				"access plus 1 month"
	ExpiresByType application/vnd.ms-fontobject			"access plus 1 month"
	ExpiresByType application/x-font-ttf				"access plus 1 month"
	ExpiresByType font/opentype							"access plus 1 month"
	ExpiresByType image/svg+xml							"access plus 1 month"
	ExpiresByType application/x-font-opentype 			"access plus 1 month"
	ExpiresByType application/x-font-woff 				"access plus 1 month"
	ExpiresByType application/pdf 				"access plus 1 month"

</IfModule>
## END Expire headers


<IfModule mod_headers.c>
Header always set X-Content-Type-Options "nosniff"
</IfModule>

<IfModule mod_headers.c>
Header always set X-XSS-Protection "1; mode=block"
</IfModule>

<IfModule mod_headers.c>
Header always set X-FRAME-OPTIONS "SAMEORIGIN"
</IfModule>

<IfModule mod_headers.c>
Header edit Set-Cookie ^(.*)$ $1;HttpOnly;Secure
</IfModule>


<IfModule mod_headers.c>
# HSTS - Oblige le navigateur a passer en HTTPS
	Header always set Strict-Transport-Security "max-age=16070400; includeSubDomains"
</IfModule>

## Cache-Control Headers
<IfModule mod_headers.c>

	# KILL THEM ETAGS
	Header unset ETag
	FileETag none
	
	<FilesMatch "\.(ico|jpe?g|png|gif|swf|css|gz)$">
		Header set Cache-Control "max-age=2592000, public"
	</FilesMatch>
	
	<FilesMatch "\.(js)$">
		Header set Cache-Control "max-age=2592000, private"
	</FilesMatch>
	
	<filesMatch "\.(html|htm)$">
		Header set Cache-Control "max-age=7200, public"
	</filesMatch>

	<FilesMatch "\\.(x?html?|php)$">
		Header set Cache-Control "max-age=604800, public"
	</FilesMatch>



	
	# Disable caching for scripts and other dynamic files
	<FilesMatch "\.(pl|php|cgi|spl|scgi|fcgi)$">
		Header unset Cache-Control
	</FilesMatch>
	
</IfModule>
## END Cache-Control Headers



Merci de votre aide
Nicolas