While testing it can be frustrating having to “clear cache and hard reload” from time to time just to see the changes I’ve made in other generators. A “no-cache” option would be great, in whatever form that takes.

  • @perchanceM
    link
    English
    127 days ago

    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?

    • @wthit56OP
      link
      English
      1
      edit-2
      26 days ago

      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.