Gentlemen, I was wondering if you could kindly advise here:
It is related to my previous query at viewtopic.php?f=4&t=11209 - site running a phpmailer (which I will soon showcase). It entails a a javascript (<script src="<cms:show k_site_link />form/js/jform.js"></script>), which contains a reference to another script (url : '/form/mailer/owner.php'). With the pretty URLs activated, this link within the .js seems to lose its target.
Now, in the previous post I was able to fix it either by using an absolute URL for that php script of by redefining the root and rewritebase. This time, however, I am not able to kill the cache, or so it seems when trying to use the full URL for the php file. I have tried disabling the cache, posting new dummy content (to invalidate cache?), played with the K_CACHE_PURGE_INTERVAL, checked the .js file permissions (currently set to 666, ), working in an incognito mode, logged in as superadmin, tried different PC - no success, although the changes have been properly saved in multiple ways, if browsing to winkcake.cz/form/js/script.js, I still see the relative address 'form/mailer/owner.php', which is obviously not working with pretty URLs on.
The question thus being, what am I missing, please? Is there any neat way to purge cache in such cases, or do I need to wait some time for the changes to come into effect?
Edit: what works is that I save a copy of the .js (such as /form/js/script2.js) and change links in my templates to this new file. It does do the trick ... nevertheless, I am still struggling about these ex post markup changes and updates...
It is related to my previous query at viewtopic.php?f=4&t=11209 - site running a phpmailer (which I will soon showcase). It entails a a javascript (<script src="<cms:show k_site_link />form/js/jform.js"></script>), which contains a reference to another script (url : '/form/mailer/owner.php'). With the pretty URLs activated, this link within the .js seems to lose its target.
Now, in the previous post I was able to fix it either by using an absolute URL for that php script of by redefining the root and rewritebase. This time, however, I am not able to kill the cache, or so it seems when trying to use the full URL for the php file. I have tried disabling the cache, posting new dummy content (to invalidate cache?), played with the K_CACHE_PURGE_INTERVAL, checked the .js file permissions (currently set to 666, ), working in an incognito mode, logged in as superadmin, tried different PC - no success, although the changes have been properly saved in multiple ways, if browsing to winkcake.cz/form/js/script.js, I still see the relative address 'form/mailer/owner.php', which is obviously not working with pretty URLs on.
The question thus being, what am I missing, please? Is there any neat way to purge cache in such cases, or do I need to wait some time for the changes to come into effect?
Edit: what works is that I save a copy of the .js (such as /form/js/script2.js) and change links in my templates to this new file. It does do the trick ... nevertheless, I am still struggling about these ex post markup changes and updates...