PHP Cache?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jkassemi
Forum Newbie
Posts: 5
Joined: Fri Dec 10, 2004 9:54 am
Location: USA

PHP Cache?

Post by jkassemi »

PHP Cache?

Does the PHP executable function with a cache of some sort? If so, how can I turn it off!!!

I'm pretty new to this language, so forgive my newbieness...

I have written a fairly simple program (but multipage so hard to post snips), but often times when I save the page and rerun the script, it doesn't apply the changes I have made when I reload it, no matter what the browser.

I've thought that it might be my server, which I changed recently to OpenSA (wanted the SSL), but my Apache version hasn't changed and the values in httpd.conf are the same now...

It usually happens after about six hours of coding, so I end up getting a tad frustrated, as you could imagine. Anyway, any ideas?
kettle_drum
DevNet Resident
Posts: 1150
Joined: Sun Jul 20, 2003 9:25 pm
Location: West Yorkshire, England

Post by kettle_drum »

There is probably a cache server between you and the server. Some times your ISP will be using one without you really knowing. Do you not have a local server you could test your code on before uploading it? Its a fairly simple task to set up apache/php/mysql on any OS - maybe you should try that.
jkassemi
Forum Newbie
Posts: 5
Joined: Fri Dec 10, 2004 9:54 am
Location: USA

Post by jkassemi »

Thanks for the help, but I got it fixed... I'm running Apache on my computer right now, and I guess if I restart the server the problems go away. I don't want to mess with too many settings just yet because I don't know if I'm going to host the site or if I'll have someone else do it, so this will work for now.

Appreciate it.
Post Reply