• zeezee@slrpnk.net
    link
    fedilink
    English
    arrow-up
    1
    ·
    7 hours ago

    tldr;

    Set that minimum TTL to something between 40 minutes (2400 seconds) and 1 hour; this is a perfectly reasonable range.

  • The_Decryptor@aussie.zone
    link
    fedilink
    English
    arrow-up
    7
    ·
    12 hours ago

    Set that minimum TTL to something between 40 minutes (2400 seconds) and 1 hour; this is a perfectly reasonable range.

    Sounds good, let’s give that a try and see what breaks.

  • MonkderVierte@lemmy.zip
    link
    fedilink
    English
    arrow-up
    1
    ·
    8 hours ago

    Btw, is there a way to tweak firefox so it always uses cache and only updates on manual site reload?

    • chaospatterns@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 hours ago

      Are you trying to make an offline website? If so, you could look into using a Service Worker which would give you full control over when the content gets refreshed.

      • MonkderVierte@lemmy.zip
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        44 minutes ago

        Laptop, mobile, bad line; it’s annoying if the page (which should already be in cache since i opened it hours ago) says “No internet :(” just because it got unloaded.

        And yes, “save webpage” solves that but

        1. i have to think of it beforehand
        2. the site is already there, in the freaking cache.

        In short, i want to use Firefox as the document viewer and downloader it is, instead of a webapp platform or whatever it wants to be.

  • CarbonatedPastaSauce@lemmy.world
    link
    fedilink
    English
    arrow-up
    27
    arrow-down
    1
    ·
    23 hours ago

    There are lots of reasons to use really low TTLs, but most are a temporary need. Most of the times I had to set low TTLs for records were for hardware migration projects where services were getting new IP addresses. But in a well managed shop this should always be temporary. The TTL would be set low the day before the change, then set back to a normal value the day after the change. I feel the author is correct in that permanently setting low TTLs just covers up a lack of proper planning and change management.

    The only thing off the top of my head that I can think absolutely requires a permanently low TTL is DNS based global load balancing for high uptime applications. But I’m sure there are other uses. I agree that the vast majority of things do not need a low TTL on their DNS record.

    • CompactFlax@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      2
      ·
      22 hours ago

      I have a reasonably latent connection and using pihole and an anycast upstream resolver is noticeably slow. It falls out of pihole cache so freaking fast with these low TTL. I have set up unbound with aggressive caching prefetch and if I recall correctly pihole has a toggle to serve expired. Serving expired in unbound, before pihole, breaks stuff that rotates IP fast.

    • L3s@lemmy.worldM
      link
      fedilink
      English
      arrow-up
      16
      ·
      23 hours ago

      Thats our automod, we keep an eye out for blogs. Every now and then we get spammed with personal blogs about off-topic things.