|
-
Jan 16th, 2010, 08:30 AM
#1
Thread Starter
Frenzied Member
WIMP on Localhost - Annoying..caching?
I posted about this in the asp.net section, as I figured it's a IIS problem. But I spoke too fast when claiming I solved it.
Swapped Apache with IIS, and got it working.
Just seems when I edit my PHP code (local wordpress theme), I have to refresh / hard refresh several times before the change show up.
Weird thing, it's PHP output that seems to get "cached".
Dunno anything about this, so any help would be appreciated
-
Jan 16th, 2010, 10:26 AM
#2
Re: WIMP on Localhost - Annoying..caching?
most likely, it's your browser. this is an issue I've had while using Firefox in the past. you can add a no-cache header and that may solve your problem:
PHP Code:
header("Cache-Control: no-cache, must-revalidate"); // HTTP/1.1 header("Expires: Sat, 26 Jul 1997 05:00:00 GMT"); // Date in the past
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|