Warum aktualisiert das Sitemap-Plugin nur einmal pro Tag?

Hallo,

ich habe ein Problem mit dem XML Sitemap Plugin festgestellt. Die URLs neuer Themen werden nicht aktualisiert.

Referenz: Video

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.

https://github.com/communiteq/discourse-sitemap/blob/master/plugin.rb#L39

5 „Gefällt mir“

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

Thanks for the response.

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.

1 „Gefällt mir“

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

1 „Gefällt mir“