Opened 10 years ago

Closed 10 years ago

#9341 closed enhancement (fixed)

Add dojo.cache to allow caching of arbitrary URL string content

Reported by: James Burke Owned by: James Burke
Priority: high Milestone: 1.4
Component: Core Version: 1.3.0
Keywords: Cc:
Blocked By: Blocking:

Description

This was triggered by #9321. Allow a dojo.cache() that will fetch content at an URL and store the URL content as a string that can be fetched later. Allow the build system to inline the strings for performance/xdomain considerations.

Change History (5)

comment:1 Changed 10 years ago by James Burke

(In [17598]) Refs #9341: dojo.cache implementation.

comment:2 Changed 10 years ago by James Burke

(In [17599]) Refs #9341: allow inlining of dojo.cache calls in a build.

comment:3 Changed 10 years ago by James Burke

Inline docs are in with the implementation, but keeping this bug open until I doc on dojocampus docs.

comment:4 Changed 10 years ago by James Burke

(In [20020]) Refs #9341, allow dojo.cache to accept objects with .toString() methods that return a valid path to the text file that should be cached.

comment:5 Changed 10 years ago by James Burke

Resolution: fixed
Status: newclosed

*Finally* did the dojocampus docs for this, so closing the bug.

Note: See TracTickets for help on using tickets.