Where should common static resources (images, js, css, etc) go in DotNetNuke?
Posted
by Joosh21
on Stack Overflow
See other posts from Stack Overflow
or by Joosh21
Published on 2010-05-04T13:32:52Z
Indexed on
2010/05/08
9:38 UTC
Read the original article
Hit count: 197
Is there a recommended location to store static resources (images, css, js, etc) in a DotNetNuke 5.x installation?
There are /images and /js folders as well as a /Resources folder that contains resources. There appears to be some overlap as MicrosoftAjax.js is in multiple locations (but might be different versions?). I also could put resources in a /DesktopModule/ModuleX location.
Does anyone know if there is a difference in using any of these folders?
I kinda like the idea of all static resources being under a common folder (/Resources) so I could set caching rule headers, permissions, etc on them in one place.
Has anyone used a separate image server to serve DotNetNuke static content? http://stackoverflow.com/questions/913208/pros-and-cons-of-a-separate-image-server-e-g-images-mydomain-com
© Stack Overflow or respective owner