Item13412: Various problems in Cache code

pencil
Priority: Urgent
Current State: Closed
Released In: 1.2.0
Target Release: minor
Applies To: Engine
Component:
Branches: master
Reported By: CrawfordCurrie
Waiting For:
Last Change By: CrawfordCurrie
There are a number of problems in the cache code that need fixing.

  1. The tests... don't test anything.
  2. the encoding/decoding of compressed and utf8 encoded content is confusing, inefficient and undocumented
  3. there's a lot of duplicated code
  4. it shows up the fact that the response has to be able to handle both binary and text (unicode) data
  5. various bits of unloved and useless bits of code that need removing
  6. default response charset needs to be utf-8, not iso-8859-1

-- CrawfordCurrie - 20 May 2015

 
Topic revision: r4 - 21 May 2015, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy