Skip to content

Commit

Permalink
added ESI options for contact form, nexcess#116, nexcess#486
Browse files Browse the repository at this point in the history
  • Loading branch information
sprankhub authored and Mehmet Uygur committed Jun 5, 2018
1 parent 66a3396 commit 08545d3
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions app/design/frontend/base/default/layout/turpentine_esi.xml
Original file line number Diff line number Diff line change
Expand Up @@ -456,8 +456,15 @@
</customer_account_confirmation>

<contacts_index_index>
<!-- wholepunching the contactForm block is not enough since the form action is wrong in this case -->
<turpentine_cache_flag value="0"/>
<reference name="contactForm">
<action method="setEsiOptions">
<params>
<method>esi</method>
<access>private</access>
<ttl>0</ttl>
</params>
</action>
</reference>
</contacts_index_index>

<!--
Expand Down

0 comments on commit 08545d3

Please sign in to comment.