Questions tagged [edge-side-includes]

Edge Side Includes is a markup language designed for dynamic assembly of cached web content.

Edge Side Includes is a markup language designed for dynamic assembly of cached web content.

26 questions
2
votes
1 answer

Edge Server Includes (ESI)

Is it a good practice to use ESI's or is that an older technology? are there alternatives that would be better. I am familiar with the use of CDN's and cache servers but this ESI was typically for applications that do more than just load the front…
Quotient
  • 3,925
  • 6
  • 31
  • 35
2
votes
2 answers

Varnish ESI recognized but not included

Hey everybody. I'm using Edge Side Includes on Varnish to cache a static HTML shell, then include some dynamic HTML and a JSON object. The ESI for HTML is getting included properly, but the ESI for the JSON object is not being included; Debug…
mrgrieves
  • 567
  • 5
  • 19
1
vote
1 answer

Varnish ESI for lots of small bits of information

I've got a standard blog-type application with posts and users that can add those posts to their favorites. Goals When a user looks at a list of posts, they should see an indication (an image) of whether each post is a favorite. Anonymous users…
Edward Dale
  • 29,597
  • 13
  • 90
  • 129
1
vote
1 answer

Parsing XML chunks in a non-XML file

Can anyone share experience with parsing XML chunks embedded in a non-XML file? I am implementing an Edge-Side-Includes[1] processor. Edge-Side-Includes elements are not necessarily embedded in XML- or well-formed XML files and this poses the…
Jan Algermissen
  • 4,930
  • 4
  • 26
  • 39
1
vote
1 answer

Why is my form not being submitted when using render_esi Symfony 6

I am making a controller in symfony 6 for a search function and then calling it from my template using the "render_esi" method. The template is rendering the form but when I click on the submit button, nothing happens other than the page being…
1
vote
1 answer

Varnish ESI multiple fragments, single request?

I am tasked with improving page serving time for a rather big deployment of wordpress multisite. I am considering using varnish for full page caching of content and using it's ESI abilities to include the dynamic content associated with the…
1
vote
1 answer

Crawler / CURL sees edge site includes

I'm trying to retrieve a website via curl/wget but instead of real content that I see with the browser I see ESI tags. The URL is http://www.patagonia.com/home/?setCountryCode=US&setLocaleCode=en_US&setLocaleCodeSelect=en
dsky
  • 173
  • 1
  • 11
0
votes
1 answer

Edge-Side-Includes: How do esi:inline tags work

I have been looking at the ESI (Edge-Side-Includes) specs, but I cannot quite figure out how esi:inline elements work. Can anyone explain that?
Jan Algermissen
  • 4,930
  • 4
  • 26
  • 39
0
votes
1 answer

Conditionally removing authorization header in Varnish Edge-side includes (ESI)

I'm using varnish with Edge-side includes for endpoints for which the primary endpoint requires authorization, but the ESIs usually do not... but sometimes they do. I am handling it now by adding a header I call Keep-Authorization to the main…
Karptonite
  • 1,490
  • 2
  • 14
  • 30
0
votes
0 answers

Varnish not processing ESI for Wordpress back end

Problem: It seems that Varnish (ver 3.0) is unable to process esi when the URL is called through Wordpress. Background : Idea is to cache article pages or for that matter any static page (of Wordpres site) for a longer duration, but for certain…
anup
  • 153
  • 7
0
votes
1 answer

with network-path reference

I just discovered that performing an using a network-path reference is not possible; it returns an error in the inclusion. Is possible to include an absolute URL omitting the protocol/scheme? I need to include pages via…
Kamafeather
  • 8,663
  • 14
  • 69
  • 99
1
2