Commit Graph

2 Commits (88ce671b6a546c61ba9864cd99e4ebb18d5dbd5f)

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