Notifications
Clear all

wpForo 1.x.x [Closed] Does anyone know the code to exclude sitemap from cache?

7 Posts
3 Users
0 Reactions
1,332 Views
Posts: 10
Topic starter
(@sheerazraza)
Active Member
Joined: 4 years ago

Hi, i want to add xml string in htcaccess - so that forum sitemap is not cached. Right now it is being cached.

 

Does anyone know how to fix the caching issue?

Yoast SEO is not cached, but wpForo sitemap is being cached currently.

6 Replies
dimalifragis
Posts: 2611
(@dimalifragis)
Famed Member
Joined: 5 years ago

What cache plugin does cache sitemaps?

3 Replies
(@sheerazraza)
Joined: 4 years ago

Active Member
Posts: 10

@dimalifragis I am not sure that's what I am asking. Why the sitemap is being cached? I am assuming its godaddy server side cache.

dimalifragis
(@dimalifragis)
Joined: 5 years ago

Famed Member
Posts: 2611

@sheerazraza No caching plugin that i know caches sitemaps, that is why i ask. Sorry i bothered you.

(@sheerazraza)
Joined: 4 years ago

Active Member
Posts: 10

@dimalifragis Yes, but for some reason the sitemap is being cached on the website. When I cleared the cache, then the new post started appearing.

Posts: 10
Topic starter
(@sheerazraza)
Active Member
Joined: 4 years ago

Can anyone help here? GoDaddy has a built-in caching and it only has a button flush all the cache. Is there any way to exclude wpforo sitemap from it? It is being cached in it. - Can't press flush cache all everytime new post is created

1 Reply
Robert
Admin
(@robert)
Joined: 9 years ago

Support Team
Posts: 10591

@sheerazraza,

You should contact to the hosting service support. There is no code that could exclude something from the server side cache, that's impossible.