Commit Graph

11 Commits (develop)

Author SHA1 Message Date
Trivernis be7e9574af Updated Elements and caching
- flag nocache deactivates the use of cache
- the graph adapts to the screensize (after re-redering)
- the server automatically generates a json with the current cpu usage.
6 years ago
Trivernis 3dab31a7c2 Auto stash before merge of "develop" and "origin/develop" 6 years ago
Julius 5e2bc1e681 Updated Elements
- Graph is now split into background, graph and labels
6 years ago
Julius Riegel ba4c3f9da4 Merge branch 'develop' of https://github.com/trivernis/rcn-frontserver into develop 6 years ago
Julius Riegel 64490a53ff Code cleanup and comments
- Added description for cleanup function
- Removed unused variable clean and moved assignment of cleanup-function
- removed index parameter from deleteFolder function in caching.js
6 years ago
codefactor-io 7a9010c4c2 [CodeFactor] Apply fixes to commit 0f4c0de
[ci skip] [skip ci]
6 years ago
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