Commit graph

14 commits

Author SHA1 Message Date
Jasper Van der Jeugt
edfdb7d677 Style nazi strikes! 2012-08-08 09:37:23 +09:00
Andrew Miller
d49694f58b 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.
2012-08-08 11:41:29 +12:00
Jasper Van der Jeugt
759f1e61ea Memory optimizations 2012-05-12 13:17:20 +02:00
Jasper Van der Jeugt
758e0beaaa Type-safe identifiers 2011-05-24 11:58:13 +02:00
Jasper Van der Jeugt
da3aa16c8b Better error messages for type errors 2011-05-19 00:41:39 +02:00
Jasper Van der Jeugt
dfe14d295e More better errors 2011-05-17 10:57:37 +02:00
Jasper Van der Jeugt
b37da38d39 Major refactoring of identifiers/resources/groups 2011-04-12 10:09:03 +02:00
Jasper Van der Jeugt
241efb1614 Fix storing path 2011-03-20 17:18:29 +01:00
Jasper Van der Jeugt
92aa446041 Don't require Writable for storing things 2011-03-20 15:51:20 +01:00
Jasper Van der Jeugt
7ba1413ea9 Add suffix to store files
This prevents file/directory clashes. Example:
when we have a `tags` item, and a `tags/foo` item,
there will be a clash since the store creates:

- a file `store/tags`;
- a file `store/tags/foo`.

The second file requires the first file to be a
directory.

We simply solve this by adding a suffix to all
store files, so it becomes:

- a file `store/tags.hakyllstore`;
- a file `store/tags/foo.hakyllstore`.
2011-01-25 13:50:02 +01:00
Jasper Van der Jeugt
77c7d8dc17 Add in-memory map to store
This allows us to get rid of the dependency
lookup map and use one uniform cache/lookup.
2011-01-04 13:09:45 +01:00
Jasper Van der Jeugt
5b67f20eab Prototype of the 'cached' arrow transformer 2010-12-31 12:38:12 +01:00
Jasper Van der Jeugt
70c7363b8c Add wasModified method 2010-12-31 12:18:33 +01:00
Jasper Van der Jeugt
95f59be5a0 Simple key-value store 2010-12-26 16:12:57 +01:00