Merge branch 'preload_template_files' of github.com:moneroexamples/onion-monero-blockchain-explorer into preload_template_files

This commit is contained in:
moneroexamples 2017-03-04 06:27:15 +08:00
commit 26d4633489
1 changed files with 7 additions and 0 deletions

View File

@ -275,6 +275,13 @@ class page {
// read operation in OS
map<string, string> template_file;
// instead of constatnly reading template files
// from hard drive for each request, we can read
// them only once, when the explorer starts into this map
// this will improve performance of the explorer and reduce
// read operation in OS
map<string, string> template_file;
public: