cache js, png and jpg file except from S3