Tengo una aplicación de rieles que estoy tratando de obtener utilizando el almacenamiento en caché de aplicaciones HTML5 utilizando Rack :: Offline. El archivo application.manifest está configurado y está siendo descargado y verificado por mi página HTML. El manifiesto se ve de la siguiente manera:manifiesto de la aplicación HTML5 que no borra la memoria caché en el cambio de manifiesto
CACHE MANIFEST
# 2d9bf2b03a07dc960fd8fe69659ceeffd4d28ccf8619669a506c3682bf223878
404.html
422.html
500.html
login.html
stylesheets/scaffold.css
javascripts/jquery.min.js
javascripts/jquery.js
javascripts/application.js
javascripts/rmbz.js
javascripts/rails.js
images/rails.png
NETWORK:
/
La página que estoy accediendo es localhost: 3000/móvil, y se ha almacenado en caché maravillosamente (visible cuando tomo el servidor rieles). Sin embargo, el archivo application.manifest al que hace referencia ha cambiado (de hecho, cambia con cada solicitud al manipular el ID hexadecimal comentado), pero Chrome no está actualizando la página. El registro de la consola en Chrome ofrece lo siguiente:
Document was loaded from Application Cache with manifest http://localhost:3000/application.manifest
Application Cache Checking event
Application Cache Downloading event
Application Cache Progress event (0 of 12) http://localhost:3000/login.html
Application Cache Progress event (1 of 12) http://localhost:3000/404.html
Application Cache Progress event (2 of 12) http://localhost:3000/422.html
Application Cache Progress event (3 of 12) http://localhost:3000/javascripts/rails.js
Application Cache Progress event (4 of 12) http://localhost:3000/javascripts/rmbz.js
Application Cache Progress event (5 of 12) http://localhost:3000/images/rails.png
Application Cache Progress event (6 of 12) http://localhost:3000/500.html
Application Cache Progress event (7 of 12) http://localhost:3000/javascripts/jquery.js
Application Cache Progress event (8 of 12) http://localhost:3000/stylesheets/scaffold.css
Application Cache Progress event (9 of 12) http://localhost:3000/javascripts/jquery.min.js
Application Cache Progress event (10 of 12) http://localhost:3000/mobile
Application Cache Progress event (11 of 12) http://localhost:3000/javascripts/application.js
Application Cache Error event: Manifest changed during update, scheduling retry
No entiendo por qué está fallando. ¡Parece estar haciendo todo lo que debería hasta la última línea! Obtengo un registro similar si navego en mi navegador a localhost: 3000/application.manifest - parece que el manifiesto se almacena en caché, ¿podría ser por eso que se queja de que el manifiesto ha cambiado? ¿Algunas ideas?
Gracias!
Alguna vez resolver esto? Las respuestas a continuación son inútiles. –
Resolvió mi problema y respondió a continuación. Espero que te sirva de algo si aún no lo has solucionado. –