Commit Graph

2 Commits (7642a57c37f0e9036fc977f3f59e5edec6658626)

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