Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Varnish: Bugs

#1122: Backwards example in ESI documentation

 

 

Varnish bugs RSS feed   Index | Next | Previous | View Threaded


varnish-bugs at varnish-cache

Apr 3, 2012, 7:24 AM

Post #1 of 2 (161 views)
Permalink
#1122: Backwards example in ESI documentation

#1122: Backwards example in ESI documentation
---------------------------+------------------------------------------------
Reporter: MatthewWilkes | Type: documentation
Status: new | Priority: low
Milestone: | Component: documentation
Version: trunk | Severity: trivial
Keywords: |
---------------------------+------------------------------------------------
From: https://www.varnish-cache.org/docs/trunk/tutorial/esi.html

{{{
Example: <!--esi ... -->
~~~~~~~~~~~~~~~~~~~~~~~~


This is a special construct to allow HTML marked up with ESI to render
without processing. ESI Processors will remove the start ("<!--esi")
and end ("-->") when the page is processed, while still processing the
contents. If the page is not processed, it will remain, becoming an
HTML/XML comment tag. For example::

<!--esi
<p>Warning: ESI Disabled!</p>
</p> -->

This assures that the ESI markup will not interfere with the rendering
of the final HTML if not processed.
}}}

The example here says ESI Disabled, but will only be rendered when ESI is
enabled. It seems to be an example for <esi:remove /> instead. The text
should be changed to a real world example, like hiding explanatory text:

{{{
<!--esi
<p>Add a comment below:</p>
<esi:include src="http://example.com/comment_form.html" />
-->
}}}

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1122>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs


varnish-bugs at varnish-cache

Apr 23, 2012, 10:07 AM

Post #2 of 2 (142 views)
Permalink
Re: #1122: Backwards example in ESI documentation [In reply to]

#1122: Backwards example in ESI documentation
----------------------------+-----------------------------------------------
Reporter: MatthewWilkes | Type: documentation
Status: closed | Priority: low
Milestone: | Component: documentation
Version: trunk | Severity: trivial
Resolution: fixed | Keywords:
----------------------------+-----------------------------------------------
Changes (by Andreas Plesner Jacobsen <apj@…>):

* status: new => closed
* resolution: => fixed


Comment:

(In [ad9356a952617bf97a539dfcc686142b7120d7f0]) Clean up docs about
esi:remove and <!--esi

Fixes #1122

--
Ticket URL: <https://www.varnish-cache.org/trac/ticket/1122#comment:1>
Varnish <https://varnish-cache.org/>
The Varnish HTTP Accelerator

_______________________________________________
varnish-bugs mailing list
varnish-bugs [at] varnish-cache
https://www.varnish-cache.org/lists/mailman/listinfo/varnish-bugs

Varnish bugs RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.