Tagged: Page Cache
-
AuthorPosts
-
November 17, 2022 at 12:59 pm #69227James WitkinsGuest
Hello,
Recently we noticed that updates to WP posts/pages are appearing to the WP admin, but not appearing on the public site (for non-logged in visitors).
Sometimes when we added a post, it would appear in the site post feeds, but if we added additional posts, those posts would not, or they might appear in some feeds but not others (on the public side, testing in incognito).
I’ve worked with our server admin and not seeing any obvious compatibility issues or errors in the server logs.
If we do a manual “purge all caches” that usually solves it and we can see the post in our various feeds. Though even that doesn’t always work. There was a case were a post was deleted from the server, yet it still appeared in the post-feeds.
I did uninstall W3TC and the posts and feeds behave normally.
Any ideas?
Thanks.
November 17, 2022 at 1:03 pm #69320Marko VasiljevicKeymasterHello James,
Thank you for reaching out and I am happy to assist you with this.
Can you please share the W3 Total Cache settings screenshot of the Performance>Page Cache>Purge policy section?
Is the Feed Caching enabled in the Performance Page Cache?
Do you have any other caching solution like some other plugin or server-side caching?Thanks!
November 18, 2022 at 12:40 pm #69380James WitkinsGuestHi Marko,
Thanks for the reply.
1.Here’s a screengrab
https://uwmadison.box.com/s/ic4cmdf5g2diems7iv990nfqjsyuzpte2. In Performance > Page Cache > General: “Cache feeds: site, categories, tags, comments” was initially unchecked. I tried it checked too. Same weirdness… new posts not showing in feeds.
3. memcached is running and the apache socache_shmcb_module. Also the PHP memcache and opcache packages are installed. There was an inactive plugin “Autoptimize” on the server. I deleted the plugin completely.
Thx
November 18, 2022 at 12:54 pm #69437Marko VasiljevicKeymasterHello James,
Thank you for your feedback.
Can you please also enable the option “Front Page” in the Purge policy? Since the feed is on the right side I believe on the front page, and this is not selected for the auto-purge when the content is updated.
Let me know if this helps!
Thanks!
November 21, 2022 at 12:39 pm #69806James WitkinsGuestMarko,
Thanks for the suggestion. We tried that, however it doesn’t seem to solve the problem. After updating and clearing all caches, the first post will appear in all feeds, but if we post a second post it won’t show in the feeds, or will show in some feeds, but not others.
Not sure if, or how this might be related, but we also noticed recently that our files have a query string appended to them. The string number changes after we deactivate/activate the W3TC plugin. It goes away completely if we leave deactivated.
Example: 10.134.189.36 – – [21/Nov/2022:09:41:22 -0600] “GET /files/webfm-uploads/documents/research/echo/2021-05-echo-session-handout.pdf?x51736 HTTP/1.1″ 200 2249192 “-” “Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36”
Thanks for any suggestions.
November 21, 2022 at 12:41 pm #69812Marko VasiljevicKeymasterHello James,
Thank you for your feedback.
Well, this is very random. How were those feeds added? Some plugin or custom shortcode?
As for the query string, you can and should disable it if not needed in Performance>Browser Cache>Prevent caching of objects after settings change
Make sure to save all settings and purge the cache.Thanks!
November 22, 2022 at 11:58 am #69818James WitkinsGuestGreat, that fixed the query sting issue. I must have enabled that during all the testing.
We’re using “List category posts”. An example:
[catlist name=news,newsletter date=yes year=2022]The feeds have been working fine up till recently, and that was with W3TC active. Definitely odd.
Any other thoughts?
-
AuthorPosts
- The topic ‘W3TC – Updates not showing on Public site’ is closed to new replies.