Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to ask turpentine not to cache contact us page in magento? #116

Closed
nomadph opened this issue Mar 25, 2013 · 5 comments
Closed

how to ask turpentine not to cache contact us page in magento? #116

nomadph opened this issue Mar 25, 2013 · 5 comments
Labels

Comments

@nomadph
Copy link

nomadph commented Mar 25, 2013

Hi, can know how to ask turpentine-varnish not to cache the contact us page?

Because whenever someone submits / fills up our contact us page, the textfield / textbox entries of the last person who submitted through the contact us page is visible to everyone (ie, the textfields are automatically filled up with the content - name, email, etc - of the last person who entered something via the contact us page).

thanks!

@aheadley
Copy link
Contributor

You'll need to tell Turpentine not to cache the contact us page handle, something like (in local.xml):

<contact_us_page>
    <turpentine_cache_flag value="0"/>
</contact_us_page>

To find the actual handle name you'll need to look through your theme's layout XML files.

@nomadph
Copy link
Author

nomadph commented Mar 25, 2013

Hi! Can ask where local.xml can be located?

Thanks!

@aheadley
Copy link
Contributor

You'll need to create it if it doesn't already exist in your theme's layout directory.

@nomadph
Copy link
Author

nomadph commented Mar 25, 2013

ah got it. it's working now. thanks much! :)

@nomadph nomadph closed this as completed Mar 25, 2013
@halk
Copy link

halk commented Feb 3, 2014

I think this should be reopened and also done in the default turpentine_esi.xml of Turpentine as the contacts page is default Magento behaviour (has controller). As it is not a well visited page, it gets forgotten during turpentine setups.

miguelbalparda added a commit that referenced this issue Feb 26, 2018
added ESI options for contact form, #116, #486
meminuygur pushed a commit to magefly/magento-turpentine that referenced this issue Jun 5, 2018
meminuygur pushed a commit to magefly/magento-turpentine that referenced this issue Jun 5, 2018
meminuygur pushed a commit to magefly/magento-turpentine that referenced this issue Jun 5, 2018
meminuygur pushed a commit to magefly/magento-turpentine that referenced this issue Jun 5, 2018
meminuygur pushed a commit to magefly/magento-turpentine that referenced this issue Jun 5, 2018
meminuygur pushed a commit to magefly/magento-turpentine that referenced this issue Jun 5, 2018
meminuygur pushed a commit to magefly/magento-turpentine that referenced this issue Jun 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants