Skip to content

File-based caching for Siesta #289

Open

Description

@jordanpwood

I find myself needing a file-based cache for Siesta. I see that there is a branch named file-cache in the repo. It's my understanding that this is the beginning of a file caching system for Siesta, correct? Is it a dead end with serious problems, or simply unfinished work? If the latter, what still needs to be done? If it fits the requirements I have for a file cache, I could work on it and make a PR, but I'd like to know more about how you envision it working @pcantrell, and what things need to happen before it is ready to be used. Let me know!

Activity

  1. pcantrell commented on Mar 28, 2019

    @pcantrell
    Contributor

    It is very much ready for experiments! It has a couple of subtle issues I wanted to fix before merging, but it is certainly not a dead end. On the run now, but I’ll drop some notes about those “subtle issues” when I have a little more time.

  2. pcantrell commented on Mar 28, 2019

    @pcantrell
    Contributor

    P.S. The GithubBrowser project on that branch has an example of how to configure and use it: https://github.com/bustoutsolutions/siesta/blob/file-cache/Examples/GithubBrowser/Source/API/GithubAPI.swift#L40-L67

  3. ahknight commented on May 22, 2019

    @ahknight

    Any update on this? It is, unfortunately, not a drop-in class for the release version of the framework due to method signature changes (which are beneficial, just breaking).

  4. tkirby commented on Nov 8, 2019

    @tkirby

    Is there an updated Filecache.swift that works with latest Siesta version? I tried the one from the file-cache branch but it's giving this error in a few places:

    FileCache' does not conform to protocol 'EntityCache'

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