Manera de evitar ctrl+F5 para obtener los últimos cambios en la página web [cerrado]

I have developed SPA using Knockout. I use Visual studio 2012 for development. My application connects to WCF services and displays the data. I make changes to my application and deploy on test server. When i type url and load application, it shows the old contents on the web page. I have to press ctrl+ F5 to get the latest changes. Why is it so and what is the way to avoid it? Cant we just press F5 and get the latest changes? Please let me know what other information you need.

preguntado el 23 de abril de 13 a las 13:04

@Curt Please can you explain more. Didnt understood quite well. Do you mean to say there is no way than to hit ctrl+ F5? -

the issue is with your browser, and it is storing your page in your cache. I'm sure that if you poke around in the options you can make it stop doing that. -

1 Respuestas

Disable caching in your browser to stop it caching the old page.

Respondido 23 Abr '13, 13:04

Definitely the best way to get rid of those refresh problems in dev environment ! - laurent s.

@codran we can disable caching programatically, am i correct? - DesarrolloEsMiPasión

@AshReva You could try using an HTML5 cache manifest to tell the browser not to cache anything "programatically"-ish. - yaakov

@codran can you provide any link? - DesarrolloEsMiPasión

@AshReva Googling it will give you a bunch of guides. Here's the Entrada de Wikipedia para ello. - yaakov

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.