GNU social JP
  • FAQ
  • Login
GNU social JPは日本のGNU socialサーバーです。
Usage/ToS/admin/test/Pleroma FE
  • Public

    • Public
    • Network
    • Groups
    • Featured
    • Popular
    • People

Notices by Ross McKay (webaware@fosstodon.org)

  1. Embed this notice
    Ross McKay (webaware@fosstodon.org)'s status on Thursday, 20-Feb-2025 08:32:24 JST Ross McKay Ross McKay
    in reply to
    • Chris Wiegman
    • Melroy van den Berg

    @chris hey look what just showed up in my feed: a blog post explaining DNS ⬆️

    by @melroy

    In conversation about 4 months ago from fosstodon.org permalink
  2. Embed this notice
    Ross McKay (webaware@fosstodon.org)'s status on Thursday, 20-Feb-2025 08:12:22 JST Ross McKay Ross McKay
    • Chris Wiegman
    • Michael Lucas :flan_set_fire:

    @chris for the bookshelf (physical or otherwise), @mwl has a couple that would help. His books are very readable, even entertaining.

    Networking for System Administrators covers what it says in the title, including a brief section on DNS. It covers the basics but not in-depth.

    DNSSEC Mastery gets into the gory details of, well, DNSSEC :)

    https://www.tiltedwindmillpress.com/product-category/tech/

    Networking for System Administrators, 2nd Edition is coming…

    https://www.tiltedwindmillpress.com/product/n4sa2e-sponsor/

    In conversation about 4 months ago from fosstodon.org permalink

    Attachments


  3. Embed this notice
    Ross McKay (webaware@fosstodon.org)'s status on Thursday, 30-Jan-2025 20:46:17 JST Ross McKay Ross McKay
    in reply to
    • Danny van Kooten

    @dvk filters are your friends. Filters in Mastodon are pretty flexible, and I really like the ability to have a time period on some filters. Might save your sanity!

    In conversation about 5 months ago from fosstodon.org permalink
  4. Embed this notice
    Ross McKay (webaware@fosstodon.org)'s status on Monday, 04-Mar-2024 09:22:23 JST Ross McKay Ross McKay
    in reply to
    • Elizabeth Tai | 戴秀铃 🇲🇾

    @liztai love this. A couple of weeks ago we did a week of duck, starting with simmered duck of which we ate legs and thighs, breast the next night, duck pilaf for two nights with the rest of the meat and some duck stock, and a vege soup with the remaining duck stock. Superb eating.

    In conversation about a year ago from fosstodon.org permalink
  5. Embed this notice
    Ross McKay (webaware@fosstodon.org)'s status on Saturday, 06-Jan-2024 21:32:34 JST Ross McKay Ross McKay
    in reply to
    • Elizabeth Tai | 戴秀铃 🇲🇾

    @liztai in a New Zealand born fam, my brother calls eldest sister The Big Cheese and I can't see any reason not to adopt this broadly.

    In conversation Saturday, 06-Jan-2024 21:32:34 JST from fosstodon.org permalink
  6. Embed this notice
    Ross McKay (webaware@fosstodon.org)'s status on Friday, 04-Aug-2023 17:09:14 JST Ross McKay Ross McKay

    If your website has unreadable text (poor typeface, small size, bad contrast, etc.) and I can't turn on Reader view, I'm closing the tab.

    #CSS #WebDev #accessibility

    In conversation Friday, 04-Aug-2023 17:09:14 JST from fosstodon.org permalink
  7. Embed this notice
    Ross McKay (webaware@fosstodon.org)'s status on Sunday, 19-Mar-2023 17:23:40 JST Ross McKay Ross McKay
    in reply to
    • Matthias Pfefferle
    • Tim Nolte

    @tim

    Does OpenLiteSpeed honour the header "Vary: Accept"? From examples I've seen, it honours other Vary values. You should be able to get separate caches for each Accept value – not just text/html and application/activity+json but any others sent.

    Try setting that header in the plugin, clear the OpenLightSpeed cache, and test.

    header('Vary: Accept');

    @pfefferle do you plan to add that to the plugin? It should automatically fix nginx, and any other caches that support Vary headers.

    In conversation Sunday, 19-Mar-2023 17:23:40 JST from fosstodon.org permalink
  8. Embed this notice
    Ross McKay (webaware@fosstodon.org)'s status on Friday, 17-Mar-2023 20:58:59 JST Ross McKay Ross McKay
    • Matthias Pfefferle
    • frank goossens 🇧🇪🇪🇺
    • Javier Casares

    @futtta @pfefferle @javiercasares

    How about: add header Vary: Accept

    Also define DONOTCACHE for PHP caching plugins that won't support varying cached content.

    In conversation Friday, 17-Mar-2023 20:58:59 JST from fosstodon.org permalink
  9. Embed this notice
    Ross McKay (webaware@fosstodon.org)'s status on Friday, 17-Mar-2023 19:39:21 JST Ross McKay Ross McKay
    in reply to
    • frank goossens 🇧🇪🇪🇺

    @futtta

    If your (host is) using typical nginx config like this one on WP docs:

    https://wordpress.org/documentation/article/nginx/#nginx-fastcgi_cache

    Then you should be able to break caching with this:

    if ($http_accept = "application/json") {
    set $no_cache 1;
    }

    But nginx will cache different content based on the Accept header if you tell it to, e.g. as long as #WordPress #ActivityPub sends this with its responses, cache will differ by Accept header:

    header('Vary: Accept');

    https://nginx.org/en/docs/http/ngx_http_fastcgi_module.html#fastcgi_cache_valid

    In conversation Friday, 17-Mar-2023 19:39:21 JST from fosstodon.org permalink

    Attachments

    1. Domain not in remote thumbnail source whitelist: nginx.org
      Module ngx_http_fastcgi_module
  10. Embed this notice
    Ross McKay (webaware@fosstodon.org)'s status on Friday, 17-Mar-2023 19:39:09 JST Ross McKay Ross McKay
    in reply to
    • Ryan McCue
    • frank goossens 🇧🇪🇪🇺
    • Javier Casares

    @javiercasares @futtta

    No so fast; that's not what I said in my post. I said that if you *wanted* to break cache for (that specific) Accept header, that's how you'd do it.

    But please read the thread from this post and below, where @rmccue argues that we *should* be caching JSON requests, and when.

    https://aus.social/@rmccue/110020902246277742

    Also note that caching some JSON requests are highly desirable, like oembed requests for example.

    https://snippets.webaware.com.au/snippets/caching-oembed-with-nginx/

    In conversation Friday, 17-Mar-2023 19:39:09 JST from fosstodon.org permalink
  11. Embed this notice
    Ross McKay (webaware@fosstodon.org)'s status on Friday, 17-Mar-2023 19:39:08 JST Ross McKay Ross McKay
    in reply to
    • frank goossens 🇧🇪🇪🇺
    • Javier Casares

    @javiercasares @futtta

    Also note that the ActivityPub plugin doesn't look for only that one exact header, it looks for four of them:

    https://github.com/pfefferle/wordpress-activitypub/blob/master/includes/class-activitypub.php#L78-L81

    In conversation Friday, 17-Mar-2023 19:39:08 JST from fosstodon.org permalink
  12. Embed this notice
    Ross McKay (webaware@fosstodon.org)'s status on Friday, 17-Mar-2023 19:39:04 JST Ross McKay Ross McKay
    in reply to
    • Matthias Pfefferle
    • frank goossens 🇧🇪🇪🇺
    • Javier Casares

    @javiercasares @futtta @pfefferle I reckon setting that Vary header will do the trick, for nginx at minimum and possibly some others.

    In conversation Friday, 17-Mar-2023 19:39:04 JST from fosstodon.org permalink

User actions

    Ross McKay

    Ross McKay

    WordPress hooker.Python Djangler.Bean enthusiast.Microbe wrangler.Deep sigh-ops.Lake Macquarie, NSW, AustraliaWP: https://profiles.wordpress.org/webaware/

    Tags
    • (None)

    Following 0

      Followers 0

        Groups 0

          Statistics

          User ID
          107538
          Member since
          17 Mar 2023
          Notices
          12
          Daily average
          0

          Feeds

          • Atom
          • Help
          • About
          • FAQ
          • TOS
          • Privacy
          • Source
          • Version
          • Contact

          GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.

          Creative Commons Attribution 3.0 All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.