FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Include stat metadata (size, modified) in container listings · Issue #224 · JavaScriptSolidServer/JavaScriptSolidServer · GitHub

Repository navigation

Include stat metadata (size, modified) in container listings #224

Closed

Description

Summary

Container listings currently only include @id and @type for each contained resource. Adding file metadata would enable richer folder views in data browsers like losos/mashlib without requiring a HEAD request per item.

Requested fields

  • stat:size — file size in bytes
  • dcterms:modified — last modified timestamp

Example

Current:

{
  "@id": "/public/data.json",
  "@type": ["ldp:Resource"]
}

Desired:

{
  "@id": "/public/data.json",
  "@type": ["ldp:Resource"],
  "stat:size": 1234,
  "dcterms:modified": "2026-03-22T07:00:00Z"
}

Context

NSS and CSS include this metadata in their container listings. The losos folder pane currently shows NAME and TYPE columns but cannot show SIZE or MODIFIED without making a HEAD request per item, which is slow on large folders.

This data is available from fs.stat() at listing time with minimal overhead.

Activity

  1. added a commit that references this issue on Mar 22, 2026
    73b6a7a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL