Commit graph

23 commits

Author SHA1 Message Date
Jasper Van der Jeugt
64569d7b72 Fix versions & metadata loading issue
Closes #171
2013-08-14 00:18:31 +02:00
Jasper Van der Jeugt
ca80171caf Minor style changes 2013-05-04 15:18:26 +02:00
noxx
f4ee3e7fcb Created tests and fixed isMember function 2013-05-04 15:42:28 +03:00
noxx
a3021bc703 Added isMember functions for Store 2013-05-04 12:51:58 +03:00
Jasper Van der Jeugt
ec1f961c4e Close open cache files as soon as possible
See #124
2013-05-03 16:21:14 +02:00
Jasper Van der Jeugt
d34d56b10e Use mtime instead of hashing files, much faster 2013-02-06 20:50:44 +01:00
Jasper Van der Jeugt
bbc2631c76 Add TmpFile utilities 2013-01-06 18:33:00 +01:00
Jasper Van der Jeugt
e5c97d978b Pick Store from the develop branch 2012-10-29 15:01:58 +01:00
Jasper Van der Jeugt
f8fb0b271e Remove unused imports in Store 2012-08-10 09:40:17 +09:00
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