ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Textile Caching breaks Liquid (Bug #778)


Added by Holger Just at 2011-12-19 12:22 am. Updated at 2012-01-16 04:15 pm.


Status:Closed Start date:2011-12-19
Priority:High Due date:
Assignee:Holger Just % Done:

0%

Category:Text formatting
Target version:3.0.0
Remote issue URL: Affected version:3.0.0

Description

As markup caching is currently done only for textile, later stages of the Liquid rendering aren't properly for cached pages. This manifests itself with HTML-generating tags not returning their actual output but the intermediate tag used internally.

Th intermediate solution is probably to disable textile caching. But I still need to investigate that further.


Associated revisions

Revision c61424e5
Added by Jean-Philippe Lang at 2008-03-05 12:14 pm

Display wiki syntax quick ref link within the jstoolbar (closes #629, #767).
Added named links syntax on quick ref (closes #766, #778).

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1190 e93f8b46-1217-0410-a6f0-8f06a7374b81

Revision e91a1e01
Added by Holger Just at 2012-01-16 05:08 pm

[#778] Properly cache Liquid markup

This commit moves the markup caching into Liquid rendering. As
Liquid allows to return different results depending on the environment
(variables, logged user, ...) we only cache the page if it contains
no active content.

Unfortunetely, active content currently also includes the TOC
in wiki pages.

History

Updated by Holger Just at 2012-01-16 04:15 pm

Fixed in e91a1e0

This commit moves the markup caching into Liquid rendering. As Liquid allows to return different results depending on the environment (variables, logged user, ...) we only cache the page if it contains no active content.

Unfortunately, active content currently also includes the TOC in wiki pages which probably means that most long pages won't be cached anymore at all.

  • Status changed from Open to Closed

Also available in: Atom PDF