Questions tagged [reload]
reloading is the process of re-requesting and re-rendering the currently displayed page
2,763
questions
0
votes
0
answers
27
views
Reloading issue - background to foreground
Reloading issue - background to foreground
I am developing an flutter application I am having an issue that my application goes to background and after few minutes if I open my app it starts reloading,...
0
votes
0
answers
31
views
Reloading video in javascript every minute, but cache is preventing it
In a directory on server I have a number of videos (mp4 files). Every video is presented on its own web page, and all web pages are controled by javasript file.
Videos in source directory change every ...
0
votes
1
answer
36
views
JavaScript: How to reload page twice
On my site I want reload my page twice: After 20 seconds of being on the page and after 50 seconds.
This is the code I use:
<script>
(function()
{
if( window.localStorage)
{
if( !...
0
votes
0
answers
32
views
How should i remain on same page when i reload a page in flutter web using auto route ? Is there any other way to reload a page i flutter?
I want to reload a page in flutter web and want to remain on same the page how can i do it ?
I tried auto route package of flutter
`import 'package:auto_route/annotations.dart';
import 'package:...
1
vote
1
answer
59
views
Cypress wait till text appear on page
I need to wait till particular text is present in my page , if its not there i need to reload the page and retry [probably need to wait up to 3 mins]. i decided to use waitUntil plugin
cy.waitUntil(
...
-1
votes
1
answer
93
views
How to fix flash of theme-switching on page-reload? (Mantine v7.1.2 - NextJS)
I'm using Mantine v7.1.2 with NextJS.I've already added this code to my _app.tsx, but the flash of dark-theme on page-refresh still persists. How do I fix this? Thank you so much in advance
<...
0
votes
0
answers
24
views
Blazor web site shows sometimes Reloading if a user opens the home page
I have a blazor server app that is installed as a windows service and works fine, except after a while that there is not any request from users, and a user wants to open the home page, shows "...
1
vote
1
answer
46
views
How to reload an import after updating it? Sage doesn't seem to reload it till end of session
I have a file called MyClass.py which contains a class MyClass.
I have a MyPrg.sage which imports this as
from MyClass import MyClass
and then instantiates MyClass & calls a method on it.
I run ...
0
votes
1
answer
20
views
Reload table view after http post request
I have main vc includes tableview. When I open my app it starts the get data from api to show table view. I have an add button on navigation bar. when I click on it alert comes with textfields. then I ...
0
votes
1
answer
34
views
Reload current page if user submits form with Ctrl-click or Shift-click
In WooCommerce in product page, sometimes users click on Add-to-cart button while pressing Ctrl or Shift keys, for opening the resulting page in a new tab/window.
In this cases, I need current page to ...
0
votes
1
answer
129
views
Reload React application every minute for five minutes
Is there a simple way to reload the React application with window.location.reloadevery minute for five minutes if the user stays on that specific site. If the user goes to the home page of the ...
0
votes
0
answers
9
views
Load Javascript with php ontent
I have a problem and I hope you can help.
I will explain the problem first: I have an HTML file, and when the page loads, it calls up content from the PHP page.
The HTML page contains JavaScript files ...
0
votes
0
answers
99
views
how to reload cache for all the pods when there are changes in db tables
My service is deployed in openshift environment and i am using springboot java to cache the data using @cacheable from four different tables. Now, i have created an endpoint that reloads the cache ...
0
votes
0
answers
41
views
How do I clear express.js cache to serve a JSON file that updates every x seconds?
I'm currently writing a program that displays new information in JSON format via express.js that will be used by another program - currently its purpose is to report CPU usage every second. I don't ...
0
votes
0
answers
119
views
Nextjs 13.4 error.tsx, the reset() not working (for fetch)
I am using the App router, error.tsx page.
I am using a server component that have fetch data from "json-server" so when the server is down the error.tsx appears with a try again button. ...
0
votes
0
answers
107
views
Create custom dialog box using beforeunload event in react
useEffect(() => {
const handlePopstate = (event) => {
event.preventDefault();
event.returnValue = "Leaving this page might result in data loss.";
};
const ...
0
votes
1
answer
79
views
Flutter tapping textbox inside the WebView makes parent widget to refresh in iOS only
I have a WebView widget as a child widget of a Container widget. Tapping on the textbox field inside the WebView widget makes the Container to reload from initState() level.
Container(
child:
WebView(...
0
votes
0
answers
55
views
Angular component is called again as a window is resized
I have been noticing that a component's on init is being called as many times as a window is resized. I have a component that calls an API once it is loaded. Once the data is retrieved and the html is ...
0
votes
0
answers
16
views
Error on reload for MERN stack app hosted on heroku
I created a MERN stack chat app and uploaded it to heroku and it works fine for the most part however anytime I refresh a page I get an error
`{"message":"ENOENT: no such file or ...
0
votes
0
answers
23
views
Bundeled file names referencing to line numbers in console when using parceljs with simple Html, css, js
I am using parceljs for hot-reloading and bundling, when I console something using JavaScript and then go to the localhost to see console, i see some weird js file names for referencing error and ...
0
votes
0
answers
53
views
double click instead of single click ; reload()
I am coding a to-do list, and I want to delete the items added to the list from the screen and from the local storage. Here is the JS code:
function delete_btn() {
let all_buttons = document....
1
vote
1
answer
221
views
I am trying to reload Expo App on button click, what is the best way to achieve this?
I am using Expo App and have a screen where user can change the language.
When selecting language change user will be asked to confirm the selection. Upon confirming I want to reload the app.
I tried ...
1
vote
0
answers
48
views
can anyone help me resolve this, in my console browser chrome when running laravel 10, error about websocket with laravel 10
WebSocket connection to 'ws://127.0.0.1:5500//ws' failed:
init @ reload.js:22
(anonymous) @ reload.js:65
could help me step by step? I don't know if that's why the image I want to display can't use ...
0
votes
1
answer
63
views
My Reload code does not work on Edge but does on Chrome
I am trying to refresh my screen after going back to it.
I go back to it with the code:
window.history.back();
My 'back' page has this function that works on chrome:
(function () {
console.log(...
0
votes
0
answers
9
views
URL that will reload the current page
Got a bit of a strange problem. I've got a URL field that I'm sending to Android and iOS app clients. In certain situations, I need to replace the value of that field with a URL that will either ...
0
votes
0
answers
22
views
Hot reload in Flutter acts like hot restart
Every time I save, my app goes all the way back to the sign up screen rather than updating the screen I'm on with hot reload.
0
votes
0
answers
71
views
Why does reloading nginx not enact certain configuration file changes?
I was pulling my hair out earlier today...
I kept changing a single line in my site's configuration file and reloading nginx.
The line in particular was:
proxy_cache_path /var/cache/nginx levels=2:2:2 ...
0
votes
2
answers
39
views
Reload package that was imported with *
I have this structure:
|-- handler
| |-- __init__.py
| |-- Layer1.py
| |-- Layer2.py
|-- factory.py
|-- main.py
init.py file:
from os.path import dirname, basename, isfile, join
import glob
...
0
votes
0
answers
36
views
I have to wright a slideshow for a bank but when i change the picture when running it did not change
its my code in slideshow2.py
import tkinter as tk
from tkinter import *
from PIL import Image
from PIL import ImageTk
from time import sleep
# adjust window
root = tk.Tk()
root.geometry("200x200&...
0
votes
1
answer
21
views
How to keep local changes after reloading webpage
I just want to change some thumbnails on youtube videos for a joke, but when I change the thumbnails src to another image, I just get the small image not found box.
0
votes
1
answer
73
views
Reload a django view
Hi I have a django app where the usual user can see in the home page a list of services, click on it to read more details and return to home page.
User can register (usign django admin) and login.
If ...
0
votes
3
answers
152
views
C# Refresh a Form by Button Press(on the same form) to show Initial Control Values
EDIT: VERSION: 4.0.30319.42000
I'm trying to find the easiest way around this.
I have ONE form with multiple control types.
Before the form loads, I have a routine to load the form's controls' ...
0
votes
0
answers
29
views
On refresh angular params are empty and it's not taking the current query param values
I have queryparams with some values. If i did any changes in the form the changedvalue is coming in the urlbar.refreshquery param is getting empty.changed value is not coming.
I tried with ...
0
votes
0
answers
45
views
AngularJS v1.3.5 - Page reloads on route change after npm install
I am facing an issue with AngularJS version 1.3.5 in my project. After performing an npm install with recent changes, I noticed that whenever there is a route change on my AngularJS page, the page ...
2
votes
1
answer
90k
views
PyCharm reload() my own module produces NameError: name 'xxx' is not defined
My function calls aren't updating after I've edited them. I've assumed that I needed to reload() my module, however the reload function spits out an error. I'm testing my script on the console.
My ...
0
votes
0
answers
109
views
vscode live server not auto reload if config proxy is config
If I config liveServer.settings.proxy, browser not auto reload if html or css file change.
But if I disable liveServer.settings.proxy, all is fine, browser auto reload if any change on my html css ...
0
votes
0
answers
22
views
Dynamic load ngModule forRoot object inside app_initializer
Actually I have external library imported in ngModule inside app.module and am passing dynamic value as link to external module but problem is its not updating new values with library -
...
0
votes
2
answers
64
views
How I can reload all the opened pages of my website when I click a button
Im trying to reload all the opened pages when I change the $_SESSION variables. But trying different approaches I dont now why it does not work. The reason of updating all the pages is because I have ...
0
votes
0
answers
15
views
Whenever I do a reloadAtIndexpath in a tableview, the particular tableview cell appears to move upwards - Swift - iOS
The issue occurs while scrolling down the tableview and then updating the particular cell index.
Tried .fade and .none animations while reloading at index. Also tried tableView.beginUpdates() and ...
-1
votes
1
answer
37
views
My Django website doesn't update HTML and CSS code
I'm building Django website and when I wrote HTML code and reload the page, it didn't make anychanges
and when I tried to change the background color to red, it didn't chnaged, even when I deleted all ...
0
votes
1
answer
65
views
How do I get useEffect to only run once in React.JS?
I am creating an application where the login button will disappear/reappear upon logging in. However, the page doesn't update with the new classnames. This is my code so far:
useEffect(() => {
...
1
vote
1
answer
31
views
How to handle transient error during page reload in javascript?
When you kick off a window.location.reload(), what can you do about the risk of a transient network error interrupting the page load? Is there some way that the script can persist and monitor the ...
0
votes
1
answer
601
views
How to show a custom reload popup instead of default one of a browser?
I am trying to show a custom popup when I refresh a specific page in Chrome (or any browser). Since we can't change the default message like Reload site? Changes you made may not be saved, I need to ...
0
votes
0
answers
13
views
Android Browser-Like Reload "Swipe" - WebView
I made a little app for my fediverse instance and used a "template" from GitHub for it. Sadly it doesn't come with a Reload Button or a "Reload-Swipe" (like this one from Microsoft ...
0
votes
0
answers
14
views
ReactNative Enable thermal overload error reporting
It is most likely that you see this error because you update to Redux 2.x and React 2.x which no longer hot reload reducers automatically
/**
* Created by yusen on 2017/4/11.
*/
'use strict'
...
0
votes
0
answers
239
views
How to force-reload a Python module after pip upgrade?
In practical applications, certain Python packages need to be upgraded dynamically during runtime. And to avoid service interruption, the main Python process shall not be terminated and relaunched due ...
0
votes
0
answers
28
views
Slow screen scrolling in pygame
I have created a scrolling game using python pygame. Even with just the screen scrolling nothing else running the screen slows down over time. I have set the FPS to 10 and this improves the scrolling ...
0
votes
0
answers
23
views
Page Reloading in React despite event.preventDefault()
import React, { useState } from 'react'
import axios from 'axios';
function Form() {
const [signalLength, setSignalLength] = useState('');
const [signalVector, setSignalVector] = useState('')...
0
votes
0
answers
111
views
How can I make my fetch 'GET' request to a REST API on node.js not reload the page?
I am new to web development and am having an issue with fetching to a REST API. I want the fetch request to be ran as soon as the page is traversed to. I am first taking a cookie value and adding it ...
0
votes
0
answers
34
views
Stay connected, then the user reload (f5) the website
My login page and myHome page is the same route http://localhost:7000/
The user then he login, we registration page disapear and myHome page is activated.
Because I made a condition if there is a ...