By marienvo on
I am using the module Image Assist on my drupal forums so users can easily add images to their posts. The images however get the same cache expire time as php or html pages: 1 sec. This causes all images being loaded every time one views a page, and really slows down the overall speed experience. Images are requested from mydomain.com/system/files/images/ - this is not a real directory, so the image may be an output from php/drupal?
Any idea how to fix the Cache-Control for these images?
Comments
Turning off private as
Turning off private as download method in the File System settings solves the problem. But I do need the system to check if a specific user has the appropriate rights to access certain files. This access check only applies to non-image uploads.
So my reformulated question would be: how can I distinct these two types of files in having a private or non-private download method?