Hello. I don't know if this belongs here, but I didn't find anywhere else to put this, and I'd like to get help with this.

In my website, I want the images to be on the cache for 2 weeks, and the .js and .css files for 3 days. I put this code in my .htaccess

Code:
<FilesMatch "\.(jpg|jpeg|png|gif|swf|ico)$">
SetOutputFilter DEFLATE
ExpiresActive on
ExpiresDefault A1209600
Header set Cache-Control "max-age=1209600"
</FilesMatch>

<FilesMatch "\.(css|js)$">
SetOutputFilter DEFLATE
ExpiresActive on
ExpiresDefault A259200
Header set Cache-Control "max-age=259200"
</FilesMatch>
However, it is not working, I think it is not saving in the cache. What's wrong with my code? What can I do?
Thanks.