# Disabling chaching

**URL:** https://forum.kirupa.com/t/disabling-chaching/95229
**Category:** Uncategorized
**Created:** [November 22, 2003, 2:13pm UTC](https://forum.kirupa.com/t/disabling-chaching/95229 "2003-11-22T14:13:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Seticus](https://avatars.discourse-cdn.com/v4/letter/s/46a35a/32.png) [@Seticus](https://forum.kirupa.com/u/Seticus)
#### Post date: [November 22, 2003, 2:13pm UTC](https://forum.kirupa.com/t/disabling-chaching/95229/1 "2003-11-22T14:13:17Z")

</div>

it has been a while… I’ve got a question:

I’m making an online game where you can walk around in a city, and you see the others walk around as well at the same time. I made the script in php. The problem now is: i’m loading vars from flash out of the php-file, i know I can fool the cache by adding a unique number to it. That works, but I’m loading the php-file every second and if you look at your tempory internet files, you get a list of maybe thousand times the same php-file. In the beginning that didn’t really matter, but now when I look at my site stats the list is like 5000 pages long…

There must be an other way to fool the cache. And I was thinking about an old html-tag i used once to make sure your html-file wasn’t loaded from cache:[http://www.htmlgoodies.com/beyond/nocache.html](http://www.htmlgoodies.com/beyond/nocache.html)

And ofcourse i’m wondering if I can use this in my swf or (even better) in my php-file, because you can use it in asp. I’m not that good in php, so maybe you guys can help me…
