This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 231981 - Support Generation of Offline Cache Manifest (HTML 5)
Summary: Support Generation of Offline Cache Manifest (HTML 5)
Status: NEW
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.4
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Assignee: Milutin Kristofic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-28 08:32 UTC by abien
Modified: 2014-10-06 13:27 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description abien 2013-06-28 08:32:35 UTC
Creation of HTML 5 cache manifest is a lots of plumbing. NetBeans 7.4 could provide a wizzard (similar to persistence.xml "Add Entities") to create the manifest: http://www.w3schools.com/html/html5_app_cache.asp
Comment 1 Petr Jiricka 2013-06-28 08:48:39 UTC
Interesting suggestion - sounds like this could best fit somewhere into the HTML editing workflow? Assigning to Marek as the owner of this area.
Comment 2 Marek Fukala 2013-06-28 09:26:04 UTC
Definitively it could fit the editing:

1. each html document w/o manifest set can have a "create cache manifest" hintfix  on the HTML tag. It adds the manifest attribute, creates a manifest file + could possibly generate the manifest "CACHE MANIFEST" section automatically by looking into the dependencies including hyperlinks, or simply all files from web root, or can open up a UI.

2. each html document w/o manifest set can have "add file to manifest XXX" if there's already one (or more).

3. rename/move file could update the manifest.

4. possibly new file can be offer to be added to the manifest in the wizard itself.

5. we can have some basic editing support for the manifest file itself, at least coloring and completion for the file names would help a lot.

...
Comment 3 Marek Fukala 2013-06-28 09:27:39 UTC
#2 should have been ... each html document not in a manifest...