HTML5 appcache: images in CSS -
let's have website following pages:
www.server.com/index.php www.server.com/anotherpage.php www.server.com/css/style_for_index.css www.server.com/css/style_for_anotherpage.css assuming, visiting www.server.com/index.php:
when using .appcache manifest in <html> tag, understand every associated file of page automatically cached anyway.
but if wanted load, @ same time, www.server.com/anotherpage.php, have load www.server.com/css/style_for_anotherpage.css in cache section of manifest.appcache file.
what don't understand if have include background-images www.server.com/css/style_for_anotherpage.css manifest.appcache file.
i understand every associated file of page automatically cached anyway.
this incorrect.
you need explicitly mention resource want cached, except so-called master entries. master entries html files include manifest attribute in <html> element. images, scripts, stylesheets referenced these files.
obviously, need include files referenced css or javascript files, if want them available offline.
Comments
Post a Comment