I've made three replies this morning, all in the Polls section. They were in the, "Last Non-Porn Movie You Watched," "Last Thing You Drank," and "Last Thing You Ate" threads. I typed out my post, submitted it, got the confirmation page that my reply was submitted, and then it's not there at all on the thread. Maybe I'm just not seeing it on my end?
However I can see what you are talking about, my replies in both Firefox and Chrome aren't showing up immediately in that browser but show immediately through a different browser. In other words, I can see the replies I just did in Firefox in Chrome but not Firefox and the ones I just did in Chrome in Firefox but not Chrome.
It has to have something to do with the caching. Going to IE which I wasn't logged in to and looking at this thread then logging in and returning showed me as not logged in again and unable to post. But when I clicked on the login button it stated I was logged in.
I've been doing a lot of work behind the scenes to make better use of browser and intermediary caches in the forum. I wasn't properly setting the Last-Modified header in the server response so your browser wasn't able to correctly ask if a new version of a page was available.
Firefox 44 is ignoring the must-revalidate directive in the Cache-Control header. I'll see if I can work around it. It does the validation with a refresh but works out of its own local cache otherwise.
just trying to speed things up a bit by poking a stick in the spokes testing to see if an edit appears too in FF44 Edited by - Drew Black on 2/8/2016 9:55:43 PM
Yeah, I think I got it right this time. And I learned something in the process that will be very helpful with some other work I'll be doing on the site soon. FireFox caches everything (even items explicitly labeled as do-not-cache) and ignores some cache-control directives.
I can see the replies doing a forced refresh but for some reason the browser shows what it saw prior to posting when coming back. When I came here to see what you wrote, both yours and mine was missing but doing a forced refresh showed them. Edited to add, but it is intermittent because this reply showed up like normal. Edited by - flash on 2/9/2016 6:25:10 PM
I've been doing HTTP traces with Firefox. It does some very strange things and appears to ignore the "must-revalidate" HTTP cache control header. So it's saving a copy of the page it stored locally and it's supposed to ask the server every time it loads a page if the copy it has is the most recent. We provide 2 pieces of data that both can be used to establish the validity of a cached page. But FF isn't revalidating and instead using it's own local copy. I haven't figured out why. Up until a few days ago our server generated and sent over the wire a fresh copy of the entire page for every request. Stupid, I know. That's what caching is for. If a page hasn't been modified then don't send the data over the wire. It speeds things up by orders of magnitude. I have been reading about the FF cache handling and they flat-out state that they will cache things locally that are even marked non-cacheable. So it's going to take a little more research.
I will change the way that the post page redirects back to the topic page to try to force a refresh there. It uses a very antiquated way of redirecting a page that may no longer be supported and certainly doesn't force a refresh of the cached content. I'll work on it on Thurs.
"You have sacrificed nothing and no one." 3689 Posts 8/10
Posted - Feb 10 2016 : 12:20AM
FWIW... Regarding Firefox 44.0.1, I had difficulty updating it on a second machine tonight (from 44.0.0 to 44.0.1). Specifically, it would not complete the update to 44.0.1 when you do the mandatory "restart" of Firefox to complete the update. I tried three times. So, after re-booting the entire computer, I did the following: (1) Exported a backup of my bookmarks. (2) Did a complete uninstall of Firefox, using Revo Uninstaller, so that it would get rid of all traces. (3) Did a fresh install of Firefox (using the 44.0.0 stub, previously downloaded), which installed a complete current version of 44.0.1. Program works perfectly. Important: Time to do another Flash Player update to v 20.0.0.306 So, the reason for this post is to make everyone aware that Firefox may be having some issues of its own, at the moment. That you need to get updated to v 44.0.1 And, that you may want to do a complete fresh install to 44.0.1 as I discussed above.
i changed the way the page redirects back to the topic upon posting. Seems like this may force FF to at least ask the server if there's a fresh copy. testing an edit in an existing post. Edited by - Drew Black on 2/11/2016 9:54:23 AM
I dropped the last-modified header. I think this will help. There must be a bug in the way Firefox handles its local cache. Here's their documentation on the issue:The code here provides that header but FF is ignoring it. Must-revalidate is a server instruction that tells the browser to check back with the server every time before using page content from its local cache. It appears that FF is placing a higher priority on their internally-computed expiration time.If Firefox was actually doing a revalidation request it wouldn't be falling back on this calculated expiration. Since I'm no longer providing a Last-modified header it will have nothing to calculate, which appears to trigger the desired revalidation.
I'm seeing this issue. I've seen it twice today. My last reply was to the Jules Jordan Upcoming Releases thread and I'm not seeing it there. Maybe it'll show up in a few minutes.
[Link]
Porn Scout Deactivated User
3735 Posts 10/02
Posted - Feb 18 2016 : 10:30PM
It just happened on this thread as well. The comment seems to show up after a refresh though.