Silverstripe Version: 3.21
I’m trying to put a Silverstripe website behind a varnish server. I have a controller that given a url path returns its content in json format. I use SiteTree::get_by_link(“page path”) to fetch the page content. For some reason this function returns false when accessed thru the varnish server.
Can someone tell me why this happends?