Have to refresh page with HTML5 offline - html

I have written a HTML5 offline Application.
It works alright so far, but I have to refresh some pages to make them run right.
For example a network site:
The page is noted in the manifest file under NETWORK:.
I can access it, when I am online, when I go offline, it is still running,
even if I refresh the index.html.
Just if I refresh the network site, I shows me, that I'm offline.
A site that stores values (localstorage):
When I reach the site from index.html the stored values won't be shown.
After refresh the site runs like it should.
For the Link of the index.html I tried "data-ajax='false'" and "rel='external'".
This worked while online, but it didn't work when I was offline.
Thanks for your help.

Related

Changes to Wordpress Site not showing when logged out

I've recently transferred a wordpress website from http to https. After this transition the website stopped loading properly when not logged in, but it loads fine when logged in. While investigating further I also discovered that this only occurred on certain pages of the site.
So I looked for some solutions to the problem and tried disabling a few plugins. But I discovered that when I make a change (for example disabling a plugin or changing the layout) the change only appears if I am logged in, and doesn't show at all if I am logged out and viewing the site.
I have tried clearing the cache on the website disabling and re-enabling all plugins but nothing has worked.
This is how the site looks when logged in:
https://i.stack.imgur.com/YB0KO.png
And you can see how the site looks while logged out here: www.onlyphysics.org
The theme I am using is Divi.
I would be very grateful for any help I could get on this issue!
I can see that CSS files are not being loaded (404 in console). This relates to css static cache. Browser is still looking for the old css generated file.
Go to Divi Theme Options > Builder > Advanced > Static CSS File Generation
And also open your site in Incognito or private window afterwards to see. There might also be additional caching on your site, which you'll need to empty afterwards to.
More info / Source: https://divitheme.net/clear-divi-cache/

How to Disable Page Caching in Trusted Web Activity App?

I created a Trusted Web Activity App for one of my friends.
Link: https://play.google.com/store/apps/details?id=com.grodudes.app
It's working absolutely fine but I am facing a small problem it is showing the cached pages even when the device is online and it causes problem like showing the user is logged out when moving to a different page even though he is logged in. Reloading the page fixes it.
How can I fix it?

A HTML link redirects to correct URL but page doesn't load and shows 403 error. The page loads fine once the page is refreshed

I have a web application hosted on Apache Tomcat which is installed on XAMPP (XAMPP is an app. like citrix/vmware). On clicking a particular link on the homepage, among many others that work absolutely fine, I'll be redirected to the required URL but the page doesn't load and shows 403 error. However, the page loads fine once the page is refreshed. Also, this error happens only when accessed from XAMPP(where it is hosted; using 'localhost'). This error does not occur when accessed outside XAMPP(using application url). All other links on the homepage works fine in both the cases
ScreenShot of error
Can someone help fix this, please? Any support is much appreciated.

Joomla Site is too slow on Firefox, but normal on other browser

I have this site http://consyn.com/ in Joomla 2.5
I am having big trouble figuring out that why this site is too slow to load in Firefox, everytime browser hangs for 2 or seconds then loads it.
It loads normally in Google Chrome.
I have tried disabling Maps on the homepage but it has no affect.
Can someone suggest me what can i do?
As i analyze your problem in Firefox each and every website before the load not apply the style(css,js etc..)
but the other browser applied it that's why this website hang in Firefox but not other at starting time.
As you mention in your Question in chrome this website not load but after some time its also load in my computer.
As a solution in your Joomla 2.5 anywhere you search
QuotaService.RecordEvent
named javascript file are there and that is the problem,this file always send to request to something get,actually that which type of data always want that i can't locate but you search this file and check your code and change it.

Favicon doesn't refreshes even after forced refresh

I built two websites on my localhost. I used one favicon for the first website.
Later when i started developing the second website. I copied first website and started working on it. I changed code and files for the second website.
But when I run the second website on my server why does it shows favicon from the first website?
I tried force refresh it, clear cache. But nothings helping.
Try clearing your browser cache but you might also consider setting up a named virtual host both sites.