Flyertalk can't seem to remember last viewed post
#136
FlyerTalk Evangelist
Join Date: Mar 2004
Location: SGF
Programs: AS, AA, UA, AGR S (former 75K, GLD, 1K, and S+, now an elite peon)
Posts: 23,195
Was a change made?
I've suddenly started having this issue in Chrome (12.0; WinXP Pro). And yes, it seems to be happening on threads I've specifically read on this machine before.
Edited to add: I don't know that it's related to this issue. I just scrolled a bit further down MyFlyerTalk and am seeing new posts all the way back to June 21. I know I've been off FT for a couple of days, but I'm pretty sure June 26 was more than 48 hours ago...
Did someone screw with either the database or the reset-new-posts-after-X-days setting? June 28 is one week ago, which is what the previous setting was...and the threads I was clicking were opening back to about June 28. I'm thinking that it's a database issue. Well, think I'll go over to a friend's house for movies instead of fighting with FT tonight. See y'all tomorrow after the IB staff gets into the office and fixes things.
I've suddenly started having this issue in Chrome (12.0; WinXP Pro). And yes, it seems to be happening on threads I've specifically read on this machine before.
Edited to add: I don't know that it's related to this issue. I just scrolled a bit further down MyFlyerTalk and am seeing new posts all the way back to June 21. I know I've been off FT for a couple of days, but I'm pretty sure June 26 was more than 48 hours ago...
Did someone screw with either the database or the reset-new-posts-after-X-days setting? June 28 is one week ago, which is what the previous setting was...and the threads I was clicking were opening back to about June 28. I'm thinking that it's a database issue. Well, think I'll go over to a friend's house for movies instead of fighting with FT tonight. See y'all tomorrow after the IB staff gets into the office and fixes things.
Last edited by jackal; Jul 6, 2011 at 12:34 am
#138
Ambassador: Alaska Airlines
Original Poster
Join Date: Jul 2009
Location: Seattle
Programs: AS MVP Gold
Posts: 2,732
Yes, from previous posts, it seems that the magic number of days to track was just this evening adjusted to approximately 15. Threads where the last post was 10-15 days ago all suddenly appeared in my My Flyertalk page as well.
#139
FlyerTalk Evangelist
Join Date: Jul 2006
Location: Upper Sternistan
Posts: 10,047
#140
FlyerTalk Evangelist
Join Date: Apr 2009
Location: where lions are led by donkeys...
Programs: Lifetime Gold, Global Entry, Hertz PC, and my wallet
Posts: 20,348
It really is poor form, for a forum with as many members as there are here and as popular this is with all the search engines, that this has not been fixed yet.
IB-types: even though you think that you have nothing to report, sometimes just giving a daily update that you are working on "something" works wonders for your customers.
IB-types: even though you think that you have nothing to report, sometimes just giving a daily update that you are working on "something" works wonders for your customers.
#141
Join Date: Feb 2009
Posts: 959
The problem we're having with fixing this now is that there are two separate systems that handle redirects, vB and vBSEO. vB defaults all redirects to 302, which is incorrect in most cases, but incorrect in this case, and vBSEO defaults all redirects to 301, which is correct in most cases, but incorrect in this case. We actually have a plug-in that changes vB's 302's to 301's, since we weren't aware of this specific use case. Neither of these handle redirects conditionally, it's a 301 or 302 status for everything.
The proper fix is to re-write both sets of code so that they treat this instance differently. Since that will take some time, we're trying to find an appropriate interim fix that will restore the functionality without messing up anything else.
#142
Ambassador: Alaska Airlines
Original Poster
Join Date: Jul 2009
Location: Seattle
Programs: AS MVP Gold
Posts: 2,732
If the solution still requires us to do a one-time cache clear to get rid of the already cached redirects, can I suggest that once it's implemented, you post an Announcement at the top of the forums to let folks know the required step? This problem seems pretty widespread and yet many users probably never check this sub-forum.
Now if the 302 redirect were combined with a new name for the magic new-post page, every client would see it as a new link for which there is no cached answer, and the problem would be resolved for everyone. Short of that, everyone will be required to clear their caches.
I am glad that IB has finally acknowledged there is a problem and that they have identified a potential solution. I have zero knowledge about FT's architecture, servers, databases or infrastructure, but armed with the facts and tools built into an affected browser, it took me less than an hour to diagnose the problem conclusively. I'm disappointed in myself for not digging deeper earlier, but I'm more disappointed that IB, as the owners and stewards of this set of forums, has ignored the issue for so long, especially when it affected so many people and was so readily discoverable.
I do hope that IB can get a fix deployed soon so we can all resume conversing about topics we care about rather than technical meta-minutiae.
#143
Join Date: May 2008
Location: YYZ
Posts: 2,636
the main way I navigate through Flyertalk is to look at the threads in which I have posted and then I view first unread. Since yesterday threads are showing unread posts dating back to June 21 5:55pm EST despite the fact that I know I have read the latest posts. Also clicking on read first unread often will take me to the first post on or after June 21 in the evening.
#145
Moderator, Southwest Airlines and Choice Privileges
Join Date: Mar 2008
Location: Central Texas
Posts: 3,039
Using the GreaseMonkey script posted above entirely eliminated the problem for me. My guess is browsers (or at least FF5) realize that a request for a php URL with parameters should be submitted to the server, even when the cached response is 301. When I view the traffic, I do see FF5 has actually resubmitted the showthread.php?goto=newpost&t=1234567 URIs and received a new 301 response even for an already cached URI.
(An alternative explanation is that a future release of FF will update handling of cached 301 responses for that type of URI. Anything in the specs about that, baliktad?)
Simply replacing the existing 301 (permanent) redirects with 302 (temporary) redirects will not resolve the problem for existing users...
Now if the 302 redirect were combined with a new name for the magic new-post page, every client would see it as a new link for which there is no cached answer, and the problem would be resolved for everyone. Short of that, everyone will be required to clear their caches.
Now if the 302 redirect were combined with a new name for the magic new-post page, every client would see it as a new link for which there is no cached answer, and the problem would be resolved for everyone. Short of that, everyone will be required to clear their caches.
As explained in the linked article Firefox even allows having multiple profiles open at once. Wouldn't it be good practice to read the forums with a more-typical user profile (including common FF extensions), and reserve the stripped down developer's profile for development?
#146
Ambassador: Alaska Airlines
Original Poster
Join Date: Jul 2009
Location: Seattle
Programs: AS MVP Gold
Posts: 2,732
I am however, disappointed that IB's efforts were stymied for so long simply due to only testing in a developer's environment. I would have thought that all the tech staff would have Firefox configured with multiple profiles, one for development and one for testing the user experience. Wouldn't proper internal testing of changes include testing in an environment like a typical user's environment (including old slow computers and browsers), rather than only a developer's environment?
#147
Moderator, Southwest Airlines and Choice Privileges
Join Date: Mar 2008
Location: Central Texas
Posts: 3,039
Is FT even all that large a portion of Internet Brands? I have no idea about how responsibilities are shared (or not) there, but considering the size of IB overall...
Last edited by ftnoob; Jul 6, 2011 at 11:04 pm Reason: Append image
#148
Moderator, Southwest Airlines and Choice Privileges
Join Date: Mar 2008
Location: Central Texas
Posts: 3,039
This is expected and happening correctly as specced and designed. As I posted above, the response to showthread.php includes specific no-caching headers that instruct the client not to reuse the response. The problem in question is the response to the thread-new-post.html page, which has a 301 response but lacks any explicit no-caching directives.
I realize there could be caching info sent with the original response that is not viewable within FF, but my quick scans of those on prior testing didn't turn up differences that I understood to be noteworthy. (But I'm a n00b at this stuff.)
#149
Ambassador: Alaska Airlines
Original Poster
Join Date: Jul 2009
Location: Seattle
Programs: AS MVP Gold
Posts: 2,732
I've not yet gone back to double-check the traffic, but when I examine the cache info as displayed by FF5, I can't detect a difference. What am I missing? (Click images for details.)
I realize there could be caching info sent with the original response that is not viewable within FF, but my quick scans of those on prior testing didn't turn up differences that I understood to be noteworthy. (But I'm a n00b at this stuff.)
I realize there could be caching info sent with the original response that is not viewable within FF, but my quick scans of those on prior testing didn't turn up differences that I understood to be noteworthy. (But I'm a n00b at this stuff.)
Regardless of the browser or tool you use, the requests and responses you'll see will look very similar to the code snippets I included in post #128. The first request (for thread-new-post.html) will receive a HTTP 301 response with no further caching headers. The subsequent request for showthread.php will also recieve a HTTP 301 response, but will also have 3 additional headers that instruct the client to NOT cache the result (whether the browser actually does or not is up to the browser). These specific instructions are:
Code:
Expires 0 Cache-Control private, post-check=0, pre-check=0, max-age=0 Pragma no-cache
#150
Moderator, Southwest Airlines and Choice Privileges
Join Date: Mar 2008
Location: Central Texas
Posts: 3,039
The subsequent request for showthread.php will also recieve a HTTP 301 response, but will also have 3 additional headers that instruct the client to NOT cache the result (whether the browser actually does or not is up to the browser). These specific instructions are:
Code:
Expires 0 Cache-Control private, post-check=0, pre-check=0, max-age=0 Pragma no-cache
I didn't have answers for questions like "what does a value of zero mean?" Zero could mean a zero length cache life, or it could mean "no expiry date, so cache forever." The fact that both cache entries read:
Expires: No Expiration Time
says to me that either the initial response header was the same, or any differences in the initial response header are irrelevant.