The main html of the MOTD is located on the game server (motd.txt). Inside the html are img tags to webserver located, php generated pictures. Example:
<img src=http://webserver.com/status.php> We use normal PHP functions like imagejpg to ouput the images. I don't think this function sends additional headers to prevent caching. > Your server status pictures are displayed on your website or on your > server's motd? > On websites, no cache problem, but on motd, it seems the image is cached, > so > we have to find ways to no-cache them > The same php functions are used to generate my motd image and the server > status images on my website. On the website, no cache problem, but for the > motd, it's not updated on map change for example (I want to display > current > map/next map in the motd, see > http://www.coldfire.info/tf2/motd/cold/motd2.html to view my motd) > I've added no-cache headers to the png generated image, but as I'm at work > I > cannot test yet if it solves the problem or not > > Cold > > On Wed, Jun 25, 2008 at 4:01 PM, Ronny Schedel <[EMAIL PROTECTED]> > wrote: > >> >> What do you mean with server side generated image? We use PHP on a >> webserver >> to generate server status pictures and it updates fine without changing >> headers. >> >> > Ronny Schedel wrote: >> >> I have never seen a PHP page cached client side. The IE does not cache >> >> PHP >> >> client side. >> > The server-side generated image is being cached by tf2 and the solution >> > is to modify headers or altering the image url. >> > >> > _______________________________________________ >> > 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