I have a plugin that loads content via ajax from a template file. Intermittently it's ONLY loading the content I'm pulling in through Ajax, not the parent template on initial load.
So, if I view the source, I'm not seeing any of the parent template's HTML, only the content from the file I'm including through JS.
This is only happening on my Dev and Production environments which are hosted through Media Temple, I can't recreate the issue locally. Also, this seems to have started occurring after I turned FastCGI on in my environments.
I'm very new to SilverStripe so I'm not as familiar with parsing order. Can anyone help shed some light on this issue?