MikeRogers0 / LivePage

LivePage for Google Chrome reloads website resources (such as CSS, HTML and JavaScript) as they change on the server.
https://livepage.mikerogers.io/
GNU Affero General Public License v3.0
176 stars 53 forks source link

Add 'Cache-Control: no-cache' to XHR requests & allow to cleaner cache breaking #109

Closed MikeRogers0 closed 7 years ago

MikeRogers0 commented 7 years ago

As discussed in https://github.com/MikeRogers0/LivePage/pull/108 .

When making the polling request add:

this.xhr.setRequestHeader('Cache-Control', 'no-cache');

Also add an option to remove LivePage= from the URL request.