Website changes not reflected - browser-cache

After changing something in my website and uploading to the server, I don't see the changes in my browser upon reload. The website loads from cache. It gets reflected after I refresh the page twice or thrice.
I need help in figuring out what's wrong.

Did you cleaned your browser cache. Restart it. Clean cookies and reset your browser to fix it, This may a problem local to your own Laptop/computer, people who will be accessing your web must be getting updated content that you pushed.

Related

Cache Issues with Nuxt3 in Dev

i'm having trouble developing with Nuxt3, the problem is that sometimes edits in the code are not visible, it seems that Nitro caches something and I need to restart the server in order to see the updates. The most effective example is when I console.log something, then i remove the line, but the log still get printed after I reload the page. Any tips?

CKAN homepage redirection issue

Issue:
I am having a website developed in CKAN framework. I am struggling with a sporadic issue which is happening on my machine only. When i do some manual changes into CKAN database and tries to click on any menu or a link it is redirecting me to homepage.
After updating the database, i run the command for re-indexing the datasets using production.ini file, so that everything should be updated on the application, but nothing happened.
Temporary Solution
Following steps gives me temporary solution for this issue:
On the website, i need to press F12 button.
Then on the browser, i need to do right click on reload button.
Select the third option ie. "Empty cache and hard reset" will refresh the page and issue get resolved.
This is the temporary solution. If i came back on next day and try to click on other menu then again it redirected me to homepage.
Note: This issue is happening only on Chrome browser.
Please help me get a permanent solution to get rid of this caching issue.
Comments are appreciable.

Route problem on production after build vue application

So, I'm building an application with Vuejs and after we finish her we decided to finally build for production. Everything worked just fine while building and etc, but when the application was really being hosted, we noticed some issues that we do not saw while on localhost (development and production).
I'm saying this after a lot of tests and researches about it because first, I thought that the problem was after building to production but we tested another way to host and it's not apache that is causing this issue and I really think that is not the code either. Anyway the problem is when we first access the application our login page is the first that you can see and it works just fine at the first access but if the user refreshes the page for any reason the page loses all her CSS because the route /auth/login goes to /auth/login/ and after some tests I can confirm. That bar that is added at the end of the route makes the page lose CSS.
This problem we solved by adding an exception on our .htaccess (we know that this is not that best practice but anyway) after this solved we saw another problem: when we click on a link for example /auth/login?token=12334567890 the token param simply disappear and the user is automatically redirected to /auth/login. So we think that maybe these two problems are related because when we first access and log in everything inside the application works as it should, these two problems are only occurring on our login component. My question is what is causing this problem only on this page? It's a vue-router that is causing?

Web-app not available on every 10th call

I have an odd problem. My Web-app is not available on every 10th call or so, if i click refresh its again available.
If i keep hitting the refresh button, sometimes it shows me again that my Page is not Available. I'm getting HTTP Status 404.
Does anyone know where the problem is ?
There wasn't a error with my Code. I deleted the Web-apps from "work/cathalina/localhost" and restarted Tomcat and now everything is working fine.

Tomcat sometimes doesn't render the page and shows plain HTML

I have a J2EE App and I've been running it for a couple of years...
recently there's chance that whatever page I want to visit, it may show up as just Plain HTML and may not be rendered...
No Logs are written about this behavior as if it's a normal thing...
usually I click to visit a page, the Browser shows some cue about sending the request to the server... I can check that everything works just fine back there... Now there's 2 ways I can see this error :
1. I wait and wait and wait... and the browser is still waiting for a response... If I lose patience and press F5, the page shows up as PlainText HTML.
2. I wait till the end and the Browser may or may not load the page... if it loads the page, it's only partial and some parts of the Javascript or HTML may not load at all.
Pressing F5 usually fixes the problem but after a while, this may happen again...
This used to happen with Tomcat 6.x every once in a while but became worse after using Tomcat 7.x .
at first I thought it's related to my App but then I noticed this pattern happening even in Tomcat's own Admin pages such as its Session Manager.
What can I do ? I'm using Tomcat 7.0.54. upgrading it to newer versions didn't help...
Thank you...