Showing results for 
Search instead for 
Did you mean: 

How to avoid caching of css, images, javascript...

Former Member
0 Kudos

I'm writing a new portal component for the portal which utilizes some images and javascript. unfortunately, I need to make changes to the javascript already deployed as part of the component. My changes are deployed as part of the par file (I can see the change when I browse the deployment), but when accessing the script via the web browser, I see the original code. No matter what I do, I can't seem to flush the cache to get the portal to present the new files.

Any suggestions? I've tried searching SDN, but search appears to be broken at the moment.

And, before anyone suggests it, I don't have access to the file system on which the portal is running, so I can't manually remove the files.

View Entire Topic
Active Contributor
0 Kudos

Hi Ken,

That's often a problem, and not always the same cause... So go through this list, maybe twice

- CTRL-F5 on client side

- Clear the HTTP Cache -

- Clear the PRT cache: /irj/servlet/prt/portal/prtroot/ -- switch to memory cache -- pageBuilder -- display groups for shared etc (NOT destroy!!!) -- mark entries -- delete selected

Hope it helps


Former Member
0 Kudos

D'oh, it was the browser cache.

Thanks guy. Points awarded.