I have this code which helps me to reload a page. The issue is, it works with Chrome and Firefox but not with Safari, it loops continually.
Can you help me why is this happening?
This is the code:
Can i do this otherwise?
I found this code: Where am i supposed to insert it?
headers 'Content-Type' => "text/html;charset=utf-8", 'Last-Modified' => Time.now.httpdate, 'P3P' => 'CP="CAO PSA OUR"', 'X-UA-Compatible' => 'IE=edge'