You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jim Tang edited this page Jun 18, 2012
·
2 revisions
Server Considerations
This page documents specific issues seen when hosting Enyo applications on Web servers with certain configurations.
mod_pagespeed
Enyo works well with most Web server configurations. However, the package loader code does rely on finding and
updating specific script tags in your document in order to work correctly. The default configuration of
the Apache module mod_pagespeed may alter script tags
on pages it serves. Alterations may include combining multiple script files and
inlining some of them into the
HTML document.
For a deployed Bootplate application in which all of the JavaScript has been reduced to two files, this may not be a problem. However, during debugging, when you are loading multiple JavaScript files specified in your package.js
files, this will cause problems. To disable the inlining of mod_pagespeed, you can change the script
tag that pulls in enyo.js to have some inline data in the body of the tag, e.g., changing