Reloading the Fusebox Framework
The Fusebox 5 framework offers different Execution Modes for which to run your code. For this discussion, we will assume your code is running in 'Production Mode', and thus running live.
Often times when running in production, you will find the need to make minor modifications within the circuit.xml.cfm files. For these minor changes to take effect, the Fusebox Framework will need to be reloaded. You can easily force this to take place by using the url variables built into the framework which forces this to take place.
Fusebox URL Variables
The variables used are as follows:
- fusebox.load=true (or false)
- fusebox.parse=true (or false)
- fusebox.execute=true (or false)
- fusebox.loadclean=true (or false) New in Fusebox 5
- fusebox.parseall=true (or false) New in Fusebox 5
- fusebox.password=Password see fusebox.xml
Example
So I need to add a new fuseaction in one of my production sites existing circuits. I jump into my favorite code editor, Eclipse, and make the change needed. Now I just need to force my Fusebox Framework to reload and accept the change.
I hit the URL with the required Fusebox variables: http://mysite.com/?fusebox.load=true&fusebox.parse=true&fusebox.execute=true&fusebox.password=FUSEBOXRULEZ
I also like to add the two new variables: fusebox.loadclean=true & fusebox.parseall=true to make sure all the parsed/cached fusebox files are removed too. This is similar to just fusebox.load, but also deletes all existing parsed files before reloading the framework! Very Nice!
Reload Fusebox Extension for Firefox
If you hate trying to remember all of the URL variables to append to you website you should check out and install the Fusebox-Firefox-Extension. This makes short work of reloading your application, and eliminates having to remember the above URL strings!
UPDATE: Steve Judd has updated and added his Fusebox Reload Extension add-on for use with Firefox 3. more details here
More Information
For more details on Execution Modes, and how the effects of the url variables on the fusebox framework, see Fusebox Execution Mode Parameters