mirror of
https://git.wownero.com/wownero/onion-wownero-blockchain-explorer.git
synced 2024-08-15 00:33:12 +00:00
Merge branch 'preload_template_files' of github.com:moneroexamples/onion-monero-blockchain-explorer into preload_template_files
This commit is contained in:
commit
26d4633489
1 changed files with 7 additions and 0 deletions
|
@ -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:
|
||||
|
||||
|
|
Loading…
Reference in a new issue