Combined Resources

Overview #

GraffitiSuite for Xojo Web allows you to use combined versions of JavaScript and Stylesheet resources. This will greatly reduce the overhead of your application as the vast majority of all resources are loaded in just a few requests to your server, and your application only needs to retain references to a few files.

Upon enabling this feature, you should clear your browser’s cache either for your specific URL or globally.

File Dependencies #

You must be using the latest version of the scripts directory which contains a combined sub-directory with two files:

  • graffitisuite.min.js
  • graffitisuite.min.css

Session Attributes #

To enable combined resource loading, you must make the following modification to your Session object’s attributes.

NameTypeDefault ValueDescription
GraffitiSuite.Files.CombinedBooleanFalseDetermines whether combined JavaScript and CSS resource files will be served to users to speed up load times.