Ignore:
Timestamp:
Jan 27, 2023, 7:28:00 PM (22 months ago)
Author:
alloc
Message:
  • Major refactoring
  • Using Utf8Json for (de)serialization
  • Moving APIs to REST
  • Removing dependencies from WebServer and MapRenderer to ServerFixes
Location:
binary-improvements2/WebServer/src/FileCache
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • binary-improvements2/WebServer/src/FileCache/DirectAccess.cs

    r392 r402  
    22using System.IO;
    33
    4 namespace AllocsFixes.FileCache {
     4namespace Webserver.FileCache {
    55        // Not caching at all, simply reading from disk on each request
    66        public class DirectAccess : AbstractCache {
     
    99                                return File.Exists (_filename) ? File.ReadAllBytes (_filename) : null;
    1010                        } catch (Exception e) {
    11                                 Log.Out ("Error in DirectAccess.GetFileContent: " + e);
     11                                Log.Out ($"Error in DirectAccess.GetFileContent: {e}");
    1212                        }
    1313
Note: See TracChangeset for help on using the changeset viewer.