Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Testing javascript of some module - cache issuesTesting javascript of some module - cache issues
Previous
 
Next
New Post
9/24/2009 12:18 PM
 

I have a module, that I created myself. The module uses javascript file .js

After installing the module on my localhost site, I decided to test something, by modifying the javascript. So I went to the folder containing the javascript file:

site_root/DesktopModules/MyModule/scripts

I openned the .js file in notepad, and replaced its content by one simple function that shows alert message on page load.

After that, I went to command prompt and typed: iisreset, to clear server cache. I also cleared cache in my browser.

Next, I have loaded my site, and what did I see? No change. The old javascript was executing. So, I went back to the: "site_root/DesktopModules/MyModule/scripts"

and I renamed the javascript file. I reloaded the site. No change. No reaction.

The old script still executing. That's crazy!

Do you know how to deal with this situation, how to clear that ancient history?

I also tried to login as host and restarted the application. I tried to do the same after restarting, the next day. Nothing helps...

 

 

 
New Post
9/25/2009 12:42 AM
 

This sounds like clientside caching, not server side - try restarting your browser/clearing it etc. (use a different browser).

Do you use PageBlaster at all?


Entrepreneur

PokerDIY Tournament Manager - PokerDIY Tournament Manager<
PokerDIY Game Finder - Mobile Apps powered by DNN
PokerDIY - Connecting Poker Players

 
New Post
9/25/2009 11:14 AM
 

Finally, I found it.

It was my fault. I had 2 projects: one with my module itself and another one with test web site. In the IIS, the folder of my module was configured as virtual directory, pointing to the module's folder which is completely appart of web site's folder. So, modifying the script inside the website folder was not a good idea, because the script used by module was inside another folder - the module's project.

Now it's working.

Thank you.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Testing javascript of some module - cache issuesTesting javascript of some module - cache issues


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out