Control Web Panel

WebPanel => CentOS 7 Problems => Topic started by: wouter on July 04, 2017, 12:50:21 PM

Title: Javascript files in catch?
Post by: wouter on July 04, 2017, 12:50:21 PM
Goodafternoon.

I have a problem that has to do with a catch.

When I upload a new javascript file via FTP. When I then call this file via the browser, it is not updated. I have disble browser catch and tried multiple browsers ..

I think it has a theme with an apache setting

I hope you can help me.
Title: Re: Javascript files in catch?
Post by: sribasu on July 25, 2017, 05:10:57 PM
Ideally this has nothing to do with Apache Settings, provided you are uploaded and accessing the file on same path (Apache can redirect URLs if certain Rewrite Rules are set and eventually you might end up accessing a different file).
If this file is not part of a framework which enables server side caching for example PHP based template engines like Smarty; it must be a browser caching problem. Try CTRL+SHIFT+DEL on your browser and clean everything. Re-open your browser and now try to access the file.