The PHP image functions sends the correct header content types.

> Ronny Schedel wrote:
>> We use normal PHP functions like imagejpg to ouput the images. I don't 
>> think
>> this function sends additional headers to prevent caching.
>>
> I suppose neglecting to change content-type from text/html to image/jpeg
> could affect client-side caching behaviour. I set content-type to
> image/png using header("Content-type: image/png") prior to calling
> imagepng and had to send additional headers to prevent tf2 from caching
> the image.
> ||
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, 
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> 


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to