You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I follow the docs and make a generate method, it calls write on my adapter from within the create call. But create returns only :ok.
My sitemap is pretty small and fast to generate, and I'm hosting on Heroku, where writing to a file is not an option. The simplest option for me would be to just generate the sitemap synchronously, on request, from a controller. But I don't see a way to do that currently. I may have my adapter write the sitemap to a cache that can be read in-request, but it's not the simplest way to start.
Is there some way to generate and return the sitemap in-memory?
The text was updated successfully, but these errors were encountered:
When I follow the docs and make a
generate
method, it callswrite
on my adapter from within thecreate
call. Butcreate
returns only:ok
.My sitemap is pretty small and fast to generate, and I'm hosting on Heroku, where writing to a file is not an option. The simplest option for me would be to just generate the sitemap synchronously, on request, from a controller. But I don't see a way to do that currently. I may have my adapter write the sitemap to a cache that can be read in-request, but it's not the simplest way to start.
Is there some way to generate and return the sitemap in-memory?
The text was updated successfully, but these errors were encountered: