Skip to content

Caching #220

@SimoneManini

Description

@SimoneManini

You're doing a great job. I use and really appreciate Quantum Manager.

My only problem (and I think many others) is the lack of a caching system.
I manage a sports newspaper and have a 13-year-old photo archive with numerous folders and files. To create the folder tree, Quantum Manager makes a direct request to the server (quantumtreecatalogs.php > getDirectories function). The server takes a long time to respond, so every time I open Quantum Manager, I don't see the folder tree for several seconds (10-15 seconds).
For this reason, a caching system would be very useful.

One approach could be:

  1. Save the scan result: At the end of the scan, instead of sending the result directly to the browser, save it to a file.

  2. Check the cache at the beginning: When a new getDirectories request arrives, it checks whether the cache file exists and whether it's still "valid" (for example, whether it's not too old).

  3. Return data from cache: If the cache file is valid, read it and send the data to the browser, bypassing the slow scan.

  4. Charge for your work! Quantum Manager is too good to give away for free!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions