Skip to content
View in the app

A better way to browse. Learn more.

Web Designer Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Avoiding displaying incomplete index.htm pages

Featured Replies

I am running an automatic update of one of my Internet sites. It is done by uploading a new Index.htm file (via FTP) to the hosting site. But this is sometimes resulting in index.htm pages, not having been completely uploaded to the hosting site, being displayed to users.

Is there any way that can be avoided? I was thinking of two possible solution scenarios. But I do not know how the write the code for either …

 

1. Some way of keeping the old index.htm file active until the new index.htm file loaded

2. Adding a refresh script in the beginning of the site, that will keep refreshing until the index file is completely uploaded to the hosting site. (e.g. some if statement in the script that checks if a variable in the end of the index.htm file exists and refreshes the site if false)

 

Any other type of solution that I have not thought of is also welcome! :-)

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.