Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fileserver Cache Improvements #9006

Merged
merged 6 commits into from
May 21, 2024
Merged

Fileserver Cache Improvements #9006

merged 6 commits into from
May 21, 2024

Commits on May 20, 2024

  1. wsd: FileServer cleanup

    Change-Id: I4ebdbee733922be312a7a5b9b59bcb6c6329a06b
    Signed-off-by: Ashod Nakashian <[email protected]>
    Ashod committed May 20, 2024
    Configuration menu
    Copy the full SHA
    7719777 View commit details
    Browse the repository at this point in the history
  2. wsd: refactored readFile to take buffer

    Change-Id: I31a76e25cff150bcf33d503e6ed9b7fae0e0ed42
    Signed-off-by: Ashod Nakashian <[email protected]>
    Ashod committed May 20, 2024
    Configuration menu
    Copy the full SHA
    68cb401 View commit details
    Browse the repository at this point in the history
  3. wsd: generic readFile

    Change-Id: I7b4328785399a2601193d71b5d6f5d1c9f933bfb
    Signed-off-by: Ashod Nakashian <[email protected]>
    Ashod committed May 20, 2024
    Configuration menu
    Copy the full SHA
    db801df View commit details
    Browse the repository at this point in the history
  4. wsd: simplify file-server caching

    This removes explicit file-reading logic
    with the existing utility function that
    is more robust and avoid the C++ streaming
    abstractions altogether.
    
    Change-Id: I170b8497a4f9185f1b29e632da27a3520ca0347a
    Signed-off-by: Ashod Nakashian <[email protected]>
    Ashod committed May 20, 2024
    Configuration menu
    Copy the full SHA
    ca2a673 View commit details
    Browse the repository at this point in the history

Commits on May 21, 2024

  1. wsd: fileserver: better compression failure handling

    We now always cache the uncompressed file data even
    when compressing fails. If no compressed data exists,
    we return the uncompressed version.
    
    Change-Id: I885275dac526f4d47ea74d6badcb609390e7c139
    Signed-off-by: Ashod Nakashian <[email protected]>
    Ashod committed May 21, 2024
    Configuration menu
    Copy the full SHA
    332b31f View commit details
    Browse the repository at this point in the history
  2. wsd: remove unused (Is)ViewWithCommentsFileExtension(s)

    Change-Id: I25158862746ce6a3e4ee16ff9d661ec96810ce24
    Signed-off-by: Ashod Nakashian <[email protected]>
    Ashod committed May 21, 2024
    Configuration menu
    Copy the full SHA
    96e74e7 View commit details
    Browse the repository at this point in the history