Yep, the reason is I want to use the font TF2 secondary.
With the new headers in the image and a change to motd.html (changed to php
with a always changing link to the image), no more cache problem

motd2.html changed to motd.php, and the img link is now: <img src="
http://www.coldfire.info/tf2/motd/cold/motd_image.php?<?php echo time(); ?>"
/> so the link is never the same
And the no-cache headers in motd_image.php (with returns a png image), all
works fine

Thanks to all for the help

For those interested by all this stuff, feel free to ask

Cold

On Wed, Jun 25, 2008 at 8:20 PM, <[EMAIL PROTECTED]> wrote:

> Any particular reason you don't just serve up the webpage as normal html
> rather than as an image?
>
> http://games.127001.org/tf2/motd.php
>
> and yes I _know_ it's minimalist, that's coz I haven't had time to do
> anything to it, not because of html limitations
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Ronny
> Schedel
> Sent: 25 June 2008 17:14
> To: Half-Life dedicated Linux server mailing list
> Subject: Re: [hlds_linux] MOTD chalkboard how-to (TF2)
>
>
> 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
>
>
> _______________________________________________
> 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