htaccess ile mümkün,
<ifModule mod_headers.c><filesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|swf|ttf|otf|woff|woff2|eot|svg)$">Header set Cache-Control "max-age=2592000, public"</filesMatch><filesMatch "\.(css)$">Header set Cache-Control "max-age=604800, public"</filesMatch><filesMatch "\.(js)$">Header set Cache-Control "max-age=216000, private"</filesMatch><filesMatch "\.(xml|txt)$">Header set Cache-Control "max-age=216000, public, must-revalidate"</filesMatch><filesMatch "\.(html|htm|php)$">Header set Cache-Control "max-age=1, private, must-revalidate"</filesMatch></ifModule>
Bilgi için çok teşekkür ederim hocam. Bizim amacımız daha çok siteye yüklenen resim boyutlarının, görseli bozulmadan düzenlenmesi. Düzenlendikten sonra sanırım site açılış hızına atkı sağlayacaktır. Resimleri boyutlarını bozmadan yaparsak, başarmış olacağız bu işi.