I have a blog which has been active for 3 years. Recently I posted an article and it immediately appeared in google search. Maybe 5 to 10 minutes.
A point to note is I was logged into my google account. Maybe google checked my post's when I searched since I am logged in?
Yet I logged out and used another browser and searched again with that specific text and it appeared in google search result.
How did this happen?
However, if I make an article in static HTML and publish, it takes time. (I assume this is the case but I haven't tested much). Yet tested a few cases after updating it in my sitemap xml.
How does google search work for a blog and other content?