Suggest for Cache Refreshing
-
Things are working well here, but I have a question….. and suggestion.
Background:
Our readers access 2-3+K different posts per day and I add about 10-14 new posts per day.
Our peak times are 8-12 midnight, so I have the cache set for 12 hrs and refresh at 4 am/pm, our quiet times. At noon, our cache was 550-600Mb.The cache does not clear except for the 12 hourly refresh and that seems to work fine regarding posts edits etc.
However, I now see on newish posts that the <<past>><<next>> post navigation only show the name of the previous post, and it is not updating to show the next post.
See: https://www.hiskingdomprophecy.com/wp-content/uploads/2021/06/HKP-1.jpgIf I clear the cache on that post, then it will show the next available post.
See: https://www.hiskingdomprophecy.com/wp-content/uploads/2021/06/HKP-2.jpgThis is the same on both desktop and mobile screens and I guess this all shows Cache Enabler is working as designed.
Question:
I was wondering if it is worth considering having the post navigation data for recent posts to be left uncached, like the front page, so that it will work for all the posts put up since the cache was last refreshed?
I used to have the cache set for 1-2 hours, so this issue was only visible when I was very busy, but now at 12 hours…. It seems to defeat the purpose of the post navigation and breadcrumbs provisions altogether. 🙂
Suggestion:
After further thought….
Is it possible that when a post is saved, the cache of the previous post is renewed automatically too on the fly, at the same time as the save?
That would mean that all posts have the correct navigation data, without a total refreshing of the cache.
That would allow me to serve the readers of new posts with full navigation data, and those of older posts, with a larger cache.
Regards and thanks,
Angus
- The topic ‘Suggest for Cache Refreshing’ is closed to new replies.