Commit Graph

2 Commits (7a9010c4c296a8176eb41e04b74a72d48a71680f)

Author SHA1 Message Date
Julius Riegel 0f4c0de2d8 Statuscodes and Cleanups
- Removed caching_dump.json
- Added cleanup function that is called on
  process exit.
- .cache directory will be deleted on cleanup
- The server can now respond with error 403 or 404 depending on the 
request
- Changed exit in testing mode to 10 seconds
6 years ago
Trivernis b40b890c1b Introducing Caching
SASS, HTML and other Files that are preprocessed will be stored in their 
processed form in the .cache directory for faster access. When a file is 
called more than 10 times in the last minute, it will be loaded into the 
memory and stays there for an hour. This allows the server to respond 
even faster to requests.
6 years ago