Exclude pages or URL's from Varnish
I would like to suggest having the option to exclude certain pages or URL's from Varnish. Most of the time Varnish is great, but in some instances it can cause issues. One particular instance right now is a very typical Wordpress + WooCommerce setup where Varnish causes the site to not save items to the cart. I did heaps of testing and it's directly a Varnish issue.
However it would be great to keep Varnish on parts of the site where it doesn't conflict, because the performance gains are fantastic. Would be a great addition to the console.
Cheers'
~ Daniel
This is now live:
https://support.cloudways.com/how-to-exclude-url-from-varnish/
Along with including/excluding cookies:
https://support.cloudways.com/how-to-include-or-exclude-cookies-from-varnish/
Cloudways Team
-
Gilles
commented
Not anywhere close to what people need: https://community.cloudways.com/t/varnish-setup-undocumented-and-inadequate/308
-
Thomas
commented
Great Job!
-
Anonymous
commented
Whoooohoooo! Nice!!
-
AdminCloudways
(Admin, Cloudways)
commented
This is now live:
https://support.cloudways.com/how-to-exclude-url-from-varnish/Along with including/excluding cookies:
https://support.cloudways.com/how-to-include-or-exclude-cookies-from-varnish/Cloudways Team
-
Anonymous
commented
"It is nearly completed. Doing internal testing."
Great! ;)
-
AdminCloudways
(Admin, Cloudways)
commented
It is nearly completed. Doing internal testing.
Cloudways Team
-
Anonymous
commented
Will be 2nd week of November?
-
Anonymous
commented
"This should be available before 2nd week of Oct."
Any update?
-
Thomas
commented
Please allow cookie whitelisting too, I need that a cookie is sent to PHP whilst using varnish cache.
-
Anonymous
commented
Nice can't wait!!
-
AdminCloudways
(Admin, Cloudways)
commented
This should be available before 2nd week of Oct.
Cloudways Team
-
Anonymous
commented
Varnish is useless for Magento without this option! Need it!
-
[Deleted User]
commented
Any progress on the ability to exclude urls from varnish through the console (or any other configuration file) ?
-
Anonymous
commented
Any status update?
-
Anonymous
commented
Amen to this! Would provide an even better platform for developers.
Everyone, please vote early and often for this feature :-)
-
Anonymous
commented
Allow me to select which pages should not be cached. For example a checkout page.
-
Hamish
commented
This issue is part of a much larger bug with Cloudways Varnish config.
Currently the Varnish config strips $_get vars from URL's - we migrated and wondered why half our RSS feeds stopped working, and it's because Varnish removes the $_get var - example.com/?feed=rss2 becomes example.com
The ability to pass variables in this manner is core Wordpress functionality - not anything to do with a plugin.
This is a bug, not a customisation request.
-
Sami
commented
*BUMP* We need this !
-
John C commented
I have started a trial and installed the wordpress/woocommerce package. I do not find anything wrong with my testing. How do I know if this problem will affect me? How do I reproduce the problem?
-
Maxim
commented
Access to Varnish configs is important for developing "feature-rich" web applications.