DEV Community

Discussion on: What Happens When A User Edits A Post on Dev.to?

Collapse
 
kspeakman profile image
Kasey Speakman

I am hardly ever happy with my posts no matter how many times I read them, so I edit a lot. I frequently see cached copies of my posts. Even after I Ctrl-F5 to see the updated copy. When I go back to it thru notifications, I'll get the original copy again. (Mainly applies to comments, I think.) I always wondered which version others were seeing, but I assume it was the very first one.

I also notice that sometimes I see an edit link on my comments, and sometimes not.

Collapse
 
ben profile image
Ben Halpern

Thanks for the heads up. I think there are some cases we are not properly handling. We'll get it worked out.

I also notice that sometimes I see an edit link on my comments, and sometimes not.

Yeah that's a known bug we're working on.

Thanks for feedback Kasey.

Thread Thread
 
kspeakman profile image
Kasey Speakman

No worries man. Y'all do a great job. And after all:

There are only two hard things in Computer Science: cache invalidation and naming things.

-- Phil Karlton

Collapse
 
isaacdlyman profile image
Isaac Lyman • Edited

I also see this a lot. In fact, just today I was thinking I should send in a bug report to Ben and the team. Thanks for calling this one out.

Thread Thread
 
ben profile image
Ben Halpern

Thanks a lot. This was a case where I'm not surprised it happens but grossly misread the frequency. Knowing this will definitely help us prioritize this. A bug report detailing where exactly it happens would still be appreciated.

Thread Thread
 
isaacdlyman profile image
Isaac Lyman

It happens pretty reliably like this:

  • write a post or comment and publish it.
  • edit it and publish.
  • someone else likes your post.
  • go to the Notifications screen.
  • click the post that was liked.
  • after a long delay, the original (unedited) post is displayed.