DWR

Make engine.js static

Details

  • Type: Improvement Improvement
  • Status: Resolved Resolved
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: None
  • Fix Version/s: 3.0.M1
  • Component/s: Engine
  • Description:
    This will make DWR quicker because lots more can be cached.
    DWR could have a "hello" call executed in ordered mode to fetch an ID.

Activity

Hide
Joe Walker added a comment - 12/Apr/07 11:36 AM

From Thomas Manson:

I think I've read something about some code beeing generated in engine.js, well the generated part could be put appart in a /dwr/engineDyn.js and included at the end of the group js file, like script.aculo.us does :

require: function(libraryName) {
// inserting via DOM fails in Safari 2.0, so brute force approach
document.write('<script type="text/javascript" src="'libraryName '"></script>');
},

Show
Joe Walker added a comment - 12/Apr/07 11:36 AM From Thomas Manson: I think I've read something about some code beeing generated in engine.js, well the generated part could be put appart in a /dwr/engineDyn.js and included at the end of the group js file, like script.aculo.us does : require: function(libraryName) { // inserting via DOM fails in Safari 2.0, so brute force approach document.write('<script type="text/javascript" src="'libraryName '"></script>'); },

People

Dates

  • Created:
    13/Mar/07 3:15 PM
    Updated:
    11/Oct/07 3:03 PM
    Resolved:
    11/Oct/07 3:03 PM