summaryrefslogtreecommitdiff
path: root/doc/build/caching.rst
Commit message (Collapse)AuthorAgeFilesLines
* Replace the use of pkg_resources with the importlib library.Federico Caselli2021-10-251-1/+1
| | | | Change-Id: Iafb96d53196ff74c98f2fbc7caf2eb8fbdc70029
* - reorganize cache tests so that we have distinct series for beaker,Mike Bayer2015-01-221-21/+15
| | | | | dogpile, "generic" - stress dogpile a bit more in caching docs
* i cant get this link to work via intersphinxMike Bayer2012-05-161-1/+1
|
* Add paragraph-level version information markup from SphinxVincent Férotin2012-05-141-3/+8
| | | | | (``.. versionadded::``, ``.. versionchanged::`` and ``.. deprecated::``), update docs CSS to put those infos into boxes.
* Uniformise ``.. sourcecode::`` indentations.Vincent Férotin2012-05-141-2/+2
|
* Uniformise documentation sections titles style:Vincent Férotin2012-05-141-9/+9
| | | | | use caps on words, undescoring characters match exact title length, only one empty line separates title with preceding section content.
* Add some `reStructuredText` (or `Sphinx` related) markups:Vincent Férotin2012-05-141-19/+34
| | | | | add more litterals, systematicaly use ``.. sourcecode::`` before code samples, add some ``:func:``, ``:class:`` and so on, fix some links, etc.
* Fix some various typos in documentation:Vincent Férotin2012-05-141-55/+55
| | | | | | fix misspelled words, remove line ending spaces, change ``-`` to ``--``, add some ``'`` between subject and 'to be' verb (e.g. "it's", "i'm"), add some ending dots to sentences, change some letters "capitalness", etc.
* - [feature] Added support for Beaker cache regionsMike Bayer2012-01-211-81/+165
| | | | | | | | in templates. Usage of regions should be considered as superseding the very obsolete idea of passing in backend options, timeouts, etc. within templates. - rewrite the cache docs again which had a lot of misleading/inaccurate info.
* - Template caching has been converted into a pluginMike Bayer2011-10-011-28/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | system, whereby the usage of Beaker is just the default plugin. Template and TemplateLookup now accept a string "cache_impl" parameter which refers to the name of a cache plugin, defaulting to the name 'beaker'. New plugins can be registered as pkg_resources entrypoints under the group "mako.cache", or registered directly using mako.cache.register_plugin(). The core plugin is the mako.cache.CacheImpl class. - The <%def>, <%block> and <%page> tags now accept any argument named "cache_*", and the key minus the "cache_" prefix will be passed as keyword arguments to the CacheImpl methods. - Template and TemplateLookup now accept an argument cache_args, which refers to a dictionary containing cache parameters. The cache_dir, cache_url, cache_type, cache_timeout arguments are deprecated (will probably never be removed, however) and can be passed now as cache_args={'url':<some url>, 'type':'memcached', 'timeout':50, 'dir':'/path/to/some/directory'}
* - New tag: <%block>. A variant on <%def> thatMike Bayer2011-04-061-1/+9
| | | | | | | | | | | | | | | | evaluates its contents in-place. Can be named or anonymous, the named version is intended for inheritance layouts where any given section can be surrounded by the <%block> tag in order for it to become overrideable by inheriting templates, without the need to specify a top-level <%def> plus explicit call. Modified scoping and argument rules as well as a more strictly enforced usage scheme make it ideal for this purpose without at all replacing most other things that defs are still good for. Lots of new docs. [ticket:164]
* - now that trailing whitespace comes up in red, need to get rid of itMike Bayer2011-01-191-11/+11
|
* - more cleanupMike Bayer2010-11-131-0/+6
| | | | | | - move Namespace docs inline to attributes on Namespace - document Cache methods, add to caching.rst - use functools.partial for partials, part of [ticket:156]
* looks goodMike Bayer2010-11-121-0/+120
|
* - initial sphinx buildout. only includes "usage" so far, needs more work.Mike Bayer2010-11-121-0/+1