diff options
author | Andrew Miller <ak.miller@auckland.ac.nz> | 2012-08-08 11:41:29 +1200 |
---|---|---|
committer | Andrew Miller <ak.miller@auckland.ac.nz> | 2012-08-08 11:41:29 +1200 |
commit | d49694f58b6e75f76bb4dba6f3640161aa742df5 (patch) | |
tree | 3d33e972cf91584231a33109ede35df333fad02b /src/Hakyll/Core/Resource | |
parent | 0b7b846a283e4f101c8404f760b65a523e64cf51 (diff) | |
download | hakyll-d49694f58b6e75f76bb4dba6f3640161aa742df5.tar.gz |
Use lrucache to limit the in-memory resource cache to the 500 most recently
used items.
This stops swap being used on sites where not all the resources will fit in
memory, but ensures that frequently used resources like templates stay in the
cache. This drastically improves performance in such cases.
Diffstat (limited to 'src/Hakyll/Core/Resource')
0 files changed, 0 insertions, 0 deletions