Skip to content

Sitemap Caching from Public Folder in Rails 8 #448

Open
@KamuelaFranco

Description

@KamuelaFranco

I believe that the new Rails 8 asset pipeline of one-year caching is affecting the sitemap. Whenever I use a browser locally, I will get the cached version. And from my experience with Google Search Console refreshing the sitemap, I get the same problem there. I've been adding ?v=2, 3, 4 so on to get around this, but I don't feel like this is all that idiomatic.

I'm also pretty new to Rails, so am I missing something simple here? Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions