About those 'missing' comments
By adamg on Wed, 04/13/2016 - 8:29am
A couple weeks ago, I turned on a caching module to help reduce the number of times UHub went down. It's worked (yay!), but it also seems to have introduced a new problem, at least for people who aren't logged in: You see comments tallied on the home page, but when you click to the post, you don't see any comments at all. So this morning, I installed another module to try to fix that problem. If you still see a mismatch between the number of comments listed on the homepage and on the actual post, please let me know (and yes, I realize the answer may lead me to installing Chinese needle snakes and then snake-eating gorillas).
Free tagging:
Ad:
Comments
Someone install the module to
Someone install the module to fix our broken system of politics.
I thought the Chinese needle
I thought the Chinese needle snakes were supposed to take care of the Fat Cats?
The xkcd I link to most to explain life...
https://xkcd.com/349/
Couple that ...
With the one about someone being wrong on the Internet and there's UHub Central right there!
This happens to me sometimes
After I click on the post and don't see any comments, I notice that I am not logged in. So I click the link to the login page, and then I'm logged in again without having to put in a password or anything. Then I have to click back to the home page, and then click on the post again to see the missing comments.
A couple days ago I also noticed some of your new posts (from twitter) were not showing up on the home page until hours later.
Ayup
Logged-in users bypass the whole-page caching system entirely, so when you log in, you're seeing everything in as close to real time as it gets (which reminds me, I need to ask my Web host if they can install a PHP extension that will let the system cache certain database queries for logged-in folks, which, if it works, should further reduce the load on the database and speed up pages).
(and yes, I realize the
Dammit, Adam. I was excited by the prospects of getting to quote that that I didn't even finish reading the post before clicking on over here... only to find I was beaten to the punch. Well, at least allow me the honors of finishing it off:
No, that's the beautiful part. When wintertime rolls around, the gorillas simply freeze to death.
same
And I'm even more disappointed that someone beat me to pointing out their disappointment in having a Simpsons reference locked and loaded and being disarmed right off the bat.
...and I guess he won the
...and I guess he won the argument, but I walked away with the turnips.
This Post
I've been having this issue a lot! Some posts will not display any comments, and others will only show a few.
This post says it has 6 comments, but only 3 appear for me.
/snark
Likely story. Why are you stifling dissent, Adam? What are you trying to hide? People are asking questions. Come clean.
Punt the modules. Set the
Punt the modules. Set the HTTP header on the homepage to "Cache-Control: max-age=10, public", A capable web gnome can hardcode that in there, or explicitly tell Cloudflare to cache the homepage.
I thought it was my work
I thought it was my work computer being old
General site support thread?
CSS isn't delivered by SSL, so Edge in Win10 refuses to load it until I explicitly click through the 'You're only seeing secure content' dialog and choose 'See all content'. I can provide more info, if necessary, but I have to do it for each CSS file (homepage, post, comment-form, login, etc).
If I could see these comments, I'd reply too
;-)
Thank you for the tech update.
On a more salient note...
Despite an icon showing multiple credit card options, the "Support Now" link connects you only to Paypal - which isn't bad if you have an account - but then you have no option to change your payment method to another credit card. It only applies my default card or balance on Paypal - which I don't want to do. Any way to link to a connection that allows you to change your payment method within Paypal?
I can also attest to the
I can also attest to the problem mentioned. I also have noticed that occasionally, the home page looks SLIGHTLY different if I'm not logged in than when I am, and sometimes the sign in link isn't at the top of the page...
(also, unless I'm losing it, I've definitely been logged in, come back to the site and not been logged in, then without having signed in again, come back to the site later and been signed in)
Same here (on the second part
Same here (on the second part). I get logged off multiple times per day, and each time when I go to the login page, it logs me back in without a password. But then shortly thereafter I'm logged off again. Started a few weeks ago, and happened again a few seconds ago!
If you're overly-curious
If you're overly-curious (like me) you can try viewing the source of a page on UHub, scroll to the very bottom and see if there's a comment that looks like-
<!-- Page cached by Boost @ 2016-04-13 13:43:23, expires @ 2016-04-13 14:43:23, lifetime 1 hour -->
If so, the page is as old as the first date listed (presumably in ET), and is also a strong clue that the site doesn't think you're logged-in, even if you think you are. If there's no "Boost" comment, then the page was fresh-baked just for you the very second you viewed it (unless there's some other caching mechanism at work). If you see wonky behavior only some of the time (like maybe "seems fine from home, but not from the office" or "seems fine near the top of the hour but not at the bottom of the hour"), it could be a corporate firewall or proxy server not playing nice with the UHub caching rules, or obscuring UHub's ability to see if you have a "login cookie", or something. Adam might ask for details like this if he wants extra help debugging!
Also, adding "?nocache=1" to the end of a URL on UHub seems to effectively "jiggle the handle" and ensure a fresh, not-cached page for you, for that page view.
So, is that why
we stopped having bicycle flame wars?