サイトマッププラグインが1日1回しか更新されないのはなぜですか?

こんにちは、

XML サイトマッププラグイン に問題があるのを発見しました。新しいトピックの URL が更新されません。

参考:動画

1 日に 1 回更新されているようです。おそらく、クローラーがそれくらいの頻度でリクエストしてくると想定されているためでしょう。

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

「いいね!」 5

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

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

「いいね!」 1