<feed xmlns='http://www.w3.org/2005/Atom'>
<title>gf-core.git/src/server/Cache.hs, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.adelon.net/gf-core.git/atom?h=master</id>
<link rel='self' href='https://git.adelon.net/gf-core.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/'/>
<updated>2019-05-15T10:05:38+00:00</updated>
<entry>
<title>Eliminate the dependency on time-compat</title>
<updated>2019-05-15T10:05:38+00:00</updated>
<author>
<name>Thomas Hallgren</name>
<email>th-github@altocumulus.org</email>
</author>
<published>2019-05-15T10:05:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=86066d4b12d61e999740bf6a3a09b6547697ee13'/>
<id>urn:sha1:86066d4b12d61e999740bf6a3a09b6547697ee13</id>
<content type='text'>
It was only needed for compatibility with directory&lt;1.2, but
directory&gt;=1.2 has been shipped with ghc since ghc-7.6.

Note: time-compat-1.9.* (the current version) is a completely different
package, that does not provide the needed function toUTCTime, which
was provided in time-compat-0.1.*.
</content>
</entry>
<entry>
<title>gf -server: include grammar modification time in the info returned by /version </title>
<updated>2015-04-17T13:21:20+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2015-04-17T13:21:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=3263968c7985168772875ea1b005425c044cc52d'/>
<id>urn:sha1:3263968c7985168772875ea1b005425c044cc52d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>PGF service: expire PGFs from the cache when they have been unused for 24 hours</title>
<updated>2014-07-21T15:53:38+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2014-07-21T15:53:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=3660339b231f4095b8251aa220103211d14c7913'/>
<id>urn:sha1:3660339b231f4095b8251aa220103211d14c7913</id>
<content type='text'>
...to keep memory use down on the server.
</content>
</entry>
<entry>
<title>gf -server: include list of loaded PGFs in version info</title>
<updated>2014-05-12T13:45:36+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2014-05-12T13:45:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=7c9ff164bf89b6f39da5ad2c43f7772324e1c141'/>
<id>urn:sha1:7c9ff164bf89b6f39da5ad2c43f7772324e1c141</id>
<content type='text'>
</content>
</entry>
<entry>
<title>PGF web service: disable caching of parse results</title>
<updated>2014-04-10T15:55:33+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2014-04-10T15:55:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=4008a2b1114983e0d98df157cf4b3bad2764ad52'/>
<id>urn:sha1:4008a2b1114983e0d98df157cf4b3bad2764ad52</id>
<content type='text'>
Caching parse results uses a lot of memory, even if they expire after
2 minutes, so it won't scale up to many simultaneous users.

But some excessive memory use seems to be caused by space leaks in
(the Haskell binding to) the C run-time system, and these should be fixed.
For example, flushing the PGF cache does not release the memory allocated
by the C run-time system when loading a PGF file.
</content>
</entry>
<entry>
<title>PGF web service: add unlexers and enable client side caching</title>
<updated>2014-04-09T17:51:25+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2014-04-09T17:51:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=d1da0e06de1d50e5246ea362ea8f2949b6a2a950'/>
<id>urn:sha1:d1da0e06de1d50e5246ea362ea8f2949b6a2a950</id>
<content type='text'>
Most PGF web API commands that produce linearizations now accept an
unlexer parameter. Possible values are "text", "code" and "mixed".

The web service now include Date and Last-Modified headers in the HTTP,
responses. This means that browsers can treat responses as static content and
cache them, so it becomes less critical to cache parse results in the server.

Also did some cleanup in PGFService.hs, e.g. removed a couple of functions
that can now be imported from PGF.Lexing instead.
</content>
</entry>
<entry>
<title>gf -server: add a command to manually flush the PGF cache</title>
<updated>2014-03-19T16:15:05+00:00</updated>
<author>
<name>hallgren</name>
<email>hallgren@chalmers.se</email>
</author>
<published>2014-03-19T16:15:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=b061d59044b0cc689cf270617364ab36c8a0792f'/>
<id>urn:sha1:b061d59044b0cc689cf270617364ab36c8a0792f</id>
<content type='text'>
This can be used if the cloud service seems slow, but it would probably
be better to automatically expire unused PGFs from the cache after some time.
</content>
</entry>
<entry>
<title>ghc-7.6: allow directory-1.2</title>
<updated>2013-03-09T21:38:43+00:00</updated>
<author>
<name>Sergei Trofimovich</name>
<email>slyfox@community.haskell.org</email>
</author>
<published>2013-03-09T21:38:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=0173b5f4ff1bb1aa07b15c441533a309036c8864'/>
<id>urn:sha1:0173b5f4ff1bb1aa07b15c441533a309036c8864</id>
<content type='text'>
Get rid of old-time depend (and ClockTime in favour of UTCTime).
time-compat helps to retain backward compatibility with directory-1.1
and lower.
</content>
</entry>
<entry>
<title>fastcgi: better grammar cache implementation: don't deadlock on exceptions</title>
<updated>2008-10-20T08:24:01+00:00</updated>
<author>
<name>bjorn</name>
<email>bjorn@bringert.net</email>
</author>
<published>2008-10-20T08:24:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=d20501147054cc655540e0629f7ec286d5e1c601'/>
<id>urn:sha1:d20501147054cc655540e0629f7ec286d5e1c601</id>
<content type='text'>
</content>
</entry>
<entry>
<title>(fastcgi) replace DataRef with a more general Cache type, which can hold several PGF grammars.</title>
<updated>2008-10-17T14:12:53+00:00</updated>
<author>
<name>bjorn</name>
<email>bjorn@bringert.net</email>
</author>
<published>2008-10-17T14:12:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.adelon.net/gf-core.git/commit/?id=0205f341f5d817fcf3a43057db9d0ef2a23af98c'/>
<id>urn:sha1:0205f341f5d817fcf3a43057db9d0ef2a23af98c</id>
<content type='text'>
</content>
</entry>
</feed>
