summaryrefslogtreecommitdiff
path: root/cherrypy/lib/caching.py
Commit message (Collapse)AuthorAgeFilesLines
* Raise correct exception. Fixes linter warnings.v18.1.0Jason R. Coombs2018-12-091-4/+4
|
* Remove references to threading._* in Python 3.2 and earlier.Jason R. Coombs2018-09-041-3/+2
|
* Remove reliance on sixJason R. Coombs2018-09-021-3/+1
|
* Add extra explanation for _cache.delete()Martin van Es2018-06-061-4/+4
|
* Rewrite comments with some punctuation to make it read more clearly. I still ↵Jason R. Coombs2018-06-061-0/+1
| | | | don't understand why deleting the cache is necessary. The previous comment said 'an empty response will be cached', but that seems inconsistent with the 'if body' block.
* Rewrite comments with some punctuation to make it read more clearly. I still ↵Jason R. Coombs2018-06-061-5/+7
| | | | don't understand why deleting the cache is necessary. The previous comment said 'an empty response will be cached', but that seems inconsistent with the 'if body' block.
* Fix static file cached 304 responseMartin van Es2018-06-061-4/+10
|
* Use bytes literals where appropriatev14.0.0Jason R. Coombs2018-02-041-2/+2
|
* Remove 'sorted' and 'reversed' from _cp_compatJason R. Coombs2017-07-091-1/+1
|
* Replace iteritems with six usage.Jason R. Coombs2017-07-081-2/+5
|
* Convert all strings to conform single-quoted styleSviatoslav Sydorenko2016-09-081-11/+11
| | | | pre-commit run double-quote-string-fixer --all-files
* Remove Py<2.6 compat Thread.daemon crutchesSviatoslav Sydorenko2016-09-081-2/+2
|
* Replace references to bitbucket tickets with references to github tickets. ↵Jason R. Coombs2016-04-301-1/+1
| | | | Ref #1410.
* More PEP8 work.Gustavo Picon2014-01-121-7/+8
|
* Running: autopep8 -vvvvv -i `find . -name '*.py'`Gustavo Picon2014-01-121-9/+13
| | | | | --HG-- branch : autopep8
* Merged in MichielOvertoom/cherrypyfixticketurls2 (pull request #11)Jason R. Coombs2012-12-051-1/+1
|\
| * Fix ticket URLs from http://www.cherrypy.org/ticket/XYZ toMichiel Overtoom2012-06-211-1/+1
| | | | | | | | https://bitbucket.org/cherrypy/cherrypy/issue/XYZ
| * Removed trailing whitespace from the codebase.Gustavo Picon2012-04-031-59/+59
| | | | | | | | sed -i '' -e 's/ *$//' `find cherrypy -name '*.py'`
* | In Python 3.3, threading._Event was renamed to threading.Event. This change ↵Jason R. Coombs2012-10-281-3/+3
| | | | | | | | | | | | | | creates a compatibility shim and uses that shim in cherrypy.lib.caching. Fixes #1179. --HG-- branch : cherrypy-3.2.x
* | Removed trailing whitespace from the codebase.Gustavo Picon2012-04-031-59/+59
|/ | | | | | | sed -i '' -e 's/ *$//' `find cherrypy -name '*.py'` --HG-- branch : cherrypy-3.2.x
* Bye bye, py2/3.Robert Brewer2011-07-021-0/+465
|
* Bringing python3 back into trunk with its own py3 folder; what was in trunk ↵trunkRobert Brewer2011-02-251-465/+0
| | | | goes in the py2 folder, and we can use a single setup.py to install either, depending on the version of Python that runs setup.py install.
* Freeow. The magic cherrypy/_cpcompat.py module to take all our py3k fears away.Robert Brewer2011-02-241-12/+9
|
* Test fixes.Robert Brewer2010-12-281-1/+1
|
* Some backports (mostly whitespace, really) from the python3 branch.Robert Brewer2010-12-271-1/+1
|
* Even more doc work.Robert Brewer2010-06-051-13/+64
|
* Sphinx docs in cherrypy.lib.*chbrown2010-02-241-20/+36
|
* Fix for #918 (caching does not respect Cache-Control: max-age header).Robert Brewer2009-08-191-8/+45
|
* Fix for #775 (Caching has a performance-killing race condition?). The ↵Robert Brewer2009-08-151-119/+154
| | | | caching tool now does antistampeding by default.
* Fixed tools.expires as described at: ↵Robert Brewer2009-08-061-4/+17
| | | | http://groups.google.com/group/cherrypy-devel/t/f25ef8fa4b54171b.
* Some cross ports from the python3 branch, including two test fixes.Robert Brewer2009-06-241-0/+2
|
* All internals now use cherrypy.serving.request/response instead of ↵Robert Brewer2009-06-221-11/+10
| | | | request/response for a speed boost.
* trunk: A bunch more alignments between trunk and python3 syntax.Robert Brewer2009-06-021-2/+4
|
* trunk - adding a py3util module that will normalize as many differences ↵Lakin Wecker2009-06-011-1/+1
| | | | between this branch and the python3 branch as it can. First it includes a py3print call who's signature matches that of print in python3. Also removed a few byte strings of the form b''
* trunk - Porting the cherrypy.lib.httputil name change. It'll be easier to ↵Lakin Wecker2009-05-311-4/+4
| | | | maintain two released branches if the modules are named the same. However, in the 2.6 branch we'll leave cherrypy.lib.http working and deprecate it for 3.3.
* Added a few commentsjaraco2009-03-311-19/+7
| | | | Removed deprecated code that was superceded by r2213
* Working fix for ticket #770 - cache multiple response variants for Vary ↵jaraco2009-03-311-11/+22
| | | | header set
* Moved function for handling vary_header_values into its own methodjaraco2009-03-311-3/+11
|
* Completed some implementation of VaryHeaderCachingStore, still not working.jaraco2009-03-311-18/+39
|
* A partial implementation of a vary header aware store with key generationjaraco2009-03-311-1/+24
|
* Refactored cache store handling to support a VaryHeaderAwareCache (still ↵jaraco2009-03-311-7/+27
| | | | unimplemented)
* Fixed cache key check for missing headers.klarson2009-03-311-1/+1
|
* Simplified logic for processing vary headersjaraco2009-03-301-6/+3
|
* Fix for #891 (substituted formatwarning is old, signature in python2.6 is ↵Robert Brewer2009-01-091-1/+5
| | | | changed). Also updated the isDaemon/setDaemon calls to threading.daemon for Py2.6+.
* Trunk fix for #714 (bug in tools.caching).Robert Brewer2007-10-281-1/+1
|
* Forward port to trunk from 3.0.x [1703]. Added checking of 'Vary' header ↵Robert Brewer2007-10-281-3/+30
| | | | before responding with cached content.
* Trunk fix for #662.Robert Brewer2007-10-281-1/+1
|
* Fix for #728 (tools.expires doesn't set a past-date header when secs=0).Robert Brewer2007-10-281-3/+6
|
* Fix for #721 (bugs in tools.caching).Robert Brewer2007-10-271-2/+7
|
* Final fix for #662 (error on configuration directive ↵Robert Brewer2007-06-161-22/+19
| | | | tools.caching.delay/maxobjects/maxsize). Trunk (3.1) now forces most caching config to apply site-wide. Also changed MemoryCache.key to MemoryCache.key().