Buffistas Building a Better Board
Do you have problems, concerns or recommendations about the technical side of the Phoenix? Air them here. Compliments also welcome.
To-do list
You know what's hard? Trying to remember a google search string from two months back. I couldn't find the original stuff I looked at.
Looking around today, it looks like I only remembered part of the story. Browsers can cache php pages, but as John notes, if you're building pages dynamically, you usually want them to remain dynamic. So if you want to prevent (or force) caching in php, you can use the Cache-Control command in the header of the php page. The problem is that Opera seems to ignore this command, and caches the pages anyway. The other problem is that I can't find the original page where I read this, but here are a couple I found today.
[link]
[link]
Don't know how useful they'll be.
John, what's your source? The transcript says "sir", and it's what I've been using as the final arbiter.
Any volunteers to code a quote interface? It's been lurking on the to do list forever.
Off to research session_cache_limiter.
No matter what the browser or the server says, the ISP's servers, the middle men, can be set to ignore cache/no-cache headers, because it saves them money.
Damn capitalism!
But we have a problem where for a given ISP, IE won't cache even a little. So it's not a middle man thing, and as such, maybe we can affect it.
John, what's your source? The transcript says "sir", and it's what I've been using as the final arbiter.
The transcript? Like someone copying it down, or the subtitles?
My source is common sense and having watched the episode and not being deaf, I guess. I mean you can see how someone could make that mistake, but are you really going to argue for "sir"?
I just
know
I'm right. Not that that helps.
Where's the shooting script? What episode is it anyway? Doomed, or Zeppo, isn't it?
This is going to be another "she doesn't know what please is" thing, isn't it?
Any volunteers to code a quote interface? It's been lurking on the to do list forever.
I'll do it! Do a "describe" on the quotes table and post it here, then I can play on my server.
we have a problem where for a given ISP, IE won't cache even a little. So it's not a middle man thing,
Yeah I guess I'm more used to the opposite problem of people writing to complain that we haven't updated pages since last week, and having to write back and say "hit reload, you goose!". Only not the goose part.
I mean you can see how someone could make that mistake, but are you really going to argue for "sir"?
Check above -- I haven't asked for anything but a cite. Common sense is fine, but nowhere near as good as a cite.
#
# Table structure for table `episodes`
#
CREATE TABLE episodes (
season int(11) NOT NULL default '0',
episode int(11) NOT NULL default '0',
airdate date default NULL,
ep_title varchar(100) NOT NULL default '',
show_name char(1) NOT NULL default ''
) TYPE=MyISAM;
# --------------------------------------------------------
#
# Table structure for table `quotes`
#
CREATE TABLE quotes (
id int(11) NOT NULL auto_increment,
charactername varchar(50) default NULL,
season int(11) default NULL,
episode int(11) default NULL,
is_approved char(1) default 'N',
quotation text,
show_name char(1) NOT NULL default '',
PRIMARY KEY (id),
FULLTEXT KEY quotation (quotation)
) TYPE=MyISAM;
Oh, and the caching thing should be fixed.
There's something weird going on. My message center keeps showing me 4 new messages in Spike's Bitches, but when I click on it it's the same 4 messages I just read. Hitting reload on the message center doesn't fix it. When I go to the Buffista's home page, it shows one new message in that thread, but when I click on it it's a message I've already read.
Yup, same problem for me.
Oh, and the caching thing should be fixed.
"Cache-control: cache", by any chance, or was it "Cache-control: no-cache"?