nuxt-modules/robots

Is the function option will be execute to each call of /robots.txt?

everyx opened this issue · 3 comments

Hi,

I want to use this module to offer dynamic robots.txt from our API, so can we use it to dynamic generate robots.txt from API in nuxt "universal" mode?

Hi @everyx
In universal mode it will be called on every request.

Hi @everyx
In universal mode it will be called on every request.

@ricardogobbosouza thanks, so It also have a route cache, can i set the TTL?

Yes, you can