Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 756803
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T15:17:13+00:00 2026-05-14T15:17:13+00:00

Is there a recommended location to store static resources (images, css, js, etc) in

  • 0

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?
Pros and Cons of a separate image server (e.g. images.mydomain.com)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T15:17:13+00:00Added an answer on May 14, 2026 at 3:17 pm

    If you own the entire DNN installation, then it can certainly make sense to consolidate all of your resources into one place (whether its the Resources folder used by DNN, or a different folder that DNN doesn’t know about). If you’re developing a module that will be installed onto a site that you don’t totally own, then the considerate thing to do is to constrain your resources within the DesktopModules folder for your module.

    Some things to consider with regards to DNN folders:

    • If you have content under a module’s folder, uninstalling that module will give you the option to delete that content. This can help you keep things clean and organized, or it can make it can be dangerous if you have multiple module definitions sharing the same files… (Even more dangerous can be the uninstall SQL scripts; make sure you don’t accidentally uninstall a module which has an uninstall script attached)
    • You can use the DNN file manager to upload/delete/rename files within the Portals directory, so it may make sense to put files there if site administrators should have control of them
    • Putting content outside of the module’s folder will make it slightly more difficult to link to (especially if it’s on a portal specific folder, i.e. you have to ask the PortalSettings object for the path every time)
    • It’s uncommon to keep resources outside of the module’s folder, and so may cause confusion if you bring an experienced DNN developer into the project
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there a good or recommended tool that manages both DDLs and DMLs migrations?
Is there a dtls library that you recommended?
Is there a recommended technique for migrating a large set of paperclip S3 images
Are there any examples/recommended approaches for implementing a location picker (for want of a
Is there any C# code/classes/open-source/tools that is recommended for adaptive authentication? Some functions of
What is the recommended location to save user preference files? Is there a recommended
Is there a recommended way of using Django to clean an input string without
Is there any recommended Java application profiling tutorial? I am now using JProfiler and
Are there any wiki syntax like rdoc, markdown, ... recommended in the ruby world?
Im just wondering if theres a recommended syntax validator out there anybody can recommend?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.