Commit Graph

5 Commits (44874d16c5f5ca78dcf9daa36f962f36b908b0ad)

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 2b7c88596a Code-Cleanup
- Migrated to Webstorm and cleaned the code
6 years ago
Trivernis cf9f51013c Code-Cleanup and package.json
- Added package.json with dependencies
- Cleaned up unreachable code
- Moved a function definition in caching.js to the top of the file
- Added some comments
6 years ago
Trivernis e0c3feaf86 Added File Watcher
Cached files will now be watched for changes. Also the preprocessor and chaching will now log.
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