Cache Expiring |
I am trying to cache images, with not luck. The response is only the image, and it works. But not the cache.
This is the only Controller (the response is the image itself and the .ico file): PHP Code: public function getImage($filename = null) And this is the response header: Code: HTTP/1.1 200 OK What means the expiring date of 1981 and how do I change it? I also noticed, that the image is described as docuement in the Network analysis tab. How can I change that? Is it because I am using readfile? Is there a better option for that? Same for videos, btw.
|
Welcome Guest, Not a member yet? Register Sign In |