Checking the HTTP headers for dynamic imports API, I see they are:
public, max-age=0, s-maxage=10
And that seems to match what I see in testing just now. I.e. it's only cached for 10 seconds at the maximum. Is that still too long?
This is a Lemmy Community for perchance.org, a platform for sharing and creating random text generators.
Feel free to ask for help, share your generators, and start friendly discussions at your leisure :)
This community is mainly for discussions between those who are building generators. For discussions about using generators, especially the popular AI ones, the community-led Casual Perchance forum is likely a more appropriate venue.
See this post for the Complete Guide to Posting Here on the Community!
1. Please follow the Lemmy.World instance rules.
2. Be kind and friendly.
3. Be thankful to those who try to help you.
4. Only post about stuff related to perchance.
5. Refrain from requesting Prompts for the AI Tools.
text-to-image-plugin
and ai-text-plugin
) e.g. "What is the good prompt for X?", "How to achieve X with Y generator?"6. Search through the Community Before Posting.
Checking the HTTP headers for dynamic imports API, I see they are:
public, max-age=0, s-maxage=10
And that seems to match what I see in testing just now. I.e. it's only cached for 10 seconds at the maximum. Is that still too long?
Oh okay... Hrm... it might be a case of me using "auto" to partially reload, and that doesn't clear the moduleSpace I'm guessing? So then it wouldn't try to load the imports again?
I have noticed that for private plugins I use for my pages actually--a proper "reload" click is needed to get that update. So yeah, that's probably what it is. Didn't think about it at the time.