Why does the sitemap plugin only update once per day?


(Gulshan Kumar) #1

Hello,

I have found an issue with XML Sitemap Plugin. New topic URLs are not updating.

Ref: Video

Thanks & Regards,
Gulshan


(Jay Pfaffman) #2

It looks like it updates once a day. I’m guessing because it’s assumed that that’s as often as a crawler will ask for it.


(Gulshan Kumar) #3

That means, I need to edit code for modifying Sitemap update time period? :thinking:

Thanks for the response.


(Jay Pfaffman) #4

I doubt that you “need” to, but if you want it to change every minute, I suspect that if you change “24.hours” to “1.minute” it’ll update more often.

Note: I have never seen that Rails.cache.fetch function and am only guessing what it does.


(Gulshan Kumar) #5

I appreciate your kind response. However, I have decided to remove Sitemap plugin.


(Joshua Rosenfeld) #6