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
9
votes
3 answers

Varnish and ESI, how is the performance?

Im wondering how the performance of th ESI module is nowadays? I've read some posts on the web that ESI performance on varnish were actually slower than the real thing. Say i had a page with over 3500 esi includes, how would this perform? is esi…
8
votes
1 answer

How do you set a cookie from within an ESI:include script?

I have a basic PHP page being loaded through Varnish with a single ESI include that calls back to the server to set a cookie. The cookie is set with domain access and the like, but when called through ESI the cookie is never set. If you access the…
Mike Flynn
  • 2,153
  • 16
  • 22
6
votes
0 answers

Edge-Side-Includes Module for nginx?

Does anyone know about an ESI 1.0 implementation for nginx?
Jan Algermissen
  • 4,930
  • 4
  • 26
  • 39
6
votes
4 answers

Post processing of reverse proxied HTTP requests? (like Akamai's ESI)

We run a relatively high volume content site. Like most content sites, the majority of each page is relatively static. The articles rarely change, making them good candidates for some form of static/edge caching. There are two big problems,…
MrKurt
  • 5,080
  • 1
  • 23
  • 22
5
votes
1 answer

CloudFront with Edge Side Includes?

I've only recently been reading up on the capabilities of Varnish Cache to help optimize my PHP website's performance. I read about a feature called Edge Side Includes, which seems to give me the option to build widgets of html content that can be…
John
  • 32,403
  • 80
  • 251
  • 422
5
votes
3 answers

Using Varnish with SaaS HTTPS backend servers?

I want to configure Varnish to use HTTPS(!) services as backend services. The key here is the SSL part of the connection to the backend service! I have limited control over those HTTPS backend services (think of them as SaaS services hosted in the…
DennisK
  • 51
  • 1
  • 1
  • 2
4
votes
4 answers

Varnish Cache will not do ESI include

I am having problems getting even the simplest of Varnish Cache ESI tests to work. After trying and trying I thought I ask here. Basically it just wont include the ESI file. It's just returning the HTML without doing it's include. Here is my varnish…
Jacob
  • 91
  • 1
  • 4
4
votes
1 answer

Setting Cookies via ESI:include, how?

Im trying to use esi to make a ninja caching on my site. The idea is, the site is mostly static, I just need to do fancy stuff if the user is logged in or not. So I was trying to put an on the page A, and set triggers in the application at page…
Tiago
  • 2,966
  • 4
  • 33
  • 41
4
votes
0 answers

Equivalent of an edge side include in a universal React application

I have a universal React application. Within one of the pages I want to include some HTML from another server - Edge side includes (ESI) have been mentioned, but this methodology doesn't seem to be compatible with Universal React applications,…
4
votes
1 answer

Can the result of an esi:include or esi:eval statement be stored in an esi variable?

I would like to store the result of an ESI include or eval block in an ESI variable. The contents of the include is outside of my control. Its format is JSON. I've tried all of the following to no avail. The variable ends up as an empty…
ringzhz
  • 81
  • 6
3
votes
0 answers

Using encore_entry_script_tags in both parent and grand child twig template logs to console 2 times

I have parent main_layout.html.twig and inside it something like this: {% block javascripts %} {{ encore_entry_script_tags('main_layout') }} {% endblock %} {% block content %}{% endblock %} We have child user_profile_main_page.html.twig and…
Uros
  • 2,099
  • 7
  • 23
  • 50
3
votes
1 answer

Varnish Edge Side Includes (ESI) supported on Heroku?

Anyone know if Edge Side Includes are supported by Heroku's Varnish implementation? UPDATE: I ended up putting in a support request to ask Heroku about their Varnish implementation. Here's my request: Hi, I was just wondering if your varnish…
markquezada
  • 8,444
  • 6
  • 45
  • 52
3
votes
0 answers

In Rails 4, how to achieve Edge Side Include and HTTP Cache Reverse Proxy behavior?

I come from Symfony2 PHP and currently migrating to Rails 4, I have no knowledge with Rails 3 and before. I'm working on my web project with one last todo list to enable dynamic caching in this rails 4. In Symfony2 there are built in function to…
2
votes
0 answers

Edge Side Includes Self-Closing Tag

I have a nextjs(v7) built application that we are trying to add some Edge Side Include tags to that were provided:
TCC
  • 21
  • 5
2
votes
1 answer

Does traefik do server side includes?

Kubernetes Ingress Nginx can do server side includes by allowing Server snippets. https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/annotations/#server-snippet While, traefik doesn't appear to support server side includes…
1
2