Repository: stable-diffusion-webui
Issue: [Bug]: WebUI lag after generating first image on iPad Safari
Labels: bug-report

### Is there an existing issue for this?

- [X] I have searched the existing issues and checked the recent builds/commits

### What happened?

Every time when I generated the first image on the WebUI on my iPad, the WebUI starts to lag, Input is laggy and dragging sliders are laggy. Refreshing the page can solve it but it lags again when I generated another image. 

### Steps to reproduce the problem

1. Enter WebUI
2. Generate an image
3. Input in any text box or drag any slider
4. See issue

### What should have happened?

Inputs and dragging sliders should be instant

### Sysinfo

[sysinfo-2023-09-04-02-36.txt](https://github.com/AUTOMATIC1111/stable-diffusion-webui/files/12509264/sysinfo-2023-09-04-02-36.txt)


### What browsers do you use to access the UI ?

Apple Safari, Microsoft Edge

### Console logs

```Shell
Already up to date.
venv "D:\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.6.0
Commit hash: 5ef669de080814067961f28357256e8fe27544f4
#######################################################################################################
Initializing Civitai Link
If submitting an issue on github, please provide the below text for debugging purposes:

Python revision: 3.10.6 (tags/v3.10.6:9c7b4bd, Aug  1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Civitai Link revision: 763e8aedfab68e8933c3efbfa568961beeaa3def
SD-WebUI revision: 5ef669de080814067961f28357256e8fe27544f4

Checking Civitai Link requirements...
[!] python-socketio[client] version 5.7.2 NOT installed.

#######################################################################################################
Launching Web UI with arguments: --listen --no-half-vae --enable-insecure-extension-access --gradio-auth blufishsd:****** --api
no module 'xformers'. Processing without...
no module 'xformers'. Processing without...
No module 'xformers'. Proceeding without it.

========================= a1111-sd-webui-lycoris =========================
Starting from stable-diffusion-webui version 1.5.0
a1111-sd-webui-lycoris extension is no longer needed

All its features have been integrated into the native LoRA extension
LyCORIS models can now be used as if there are regular LoRA models

This extension has been automatically deactivated
Please remove this extension
==========================================================================

Tag Autocomplete: Could not locate model-keyword extension, Lora trigger word completion will be limited to those added through the extra networks menu.
Secret key loaded successfully.
Civitai: API loaded
Loading weights [b56afb1f2c] from D:\stable-diffusion-webui\models\Stable-diffusion\aingdiffusion_v20.safetensors
D:\stable-diffusion-webui\modules\gradio_extensons.py:25: GradioUnusedKwargWarning: You have unused kwarg parameters in Slider, please remove them: {'allow_flagging': 'never', 'show_progress': False}
  res = original_IOComponent_init(self, *args, **kwargs)
Running on local URL:  http://0.0.0.0:7860
Creating model from config: D:\stable-diffusion-webui\configs\v1-inference.yaml

To create a public link, set `share=True` in `launch()`.
Civitai: Check resources for missing info files
Civitai: Check resources for missing preview images
Startup time: 40.3s (prepare environment: 21.5s, import torch: 4.8s, import gradio: 2.8s, setup paths: 1.8s, initialize shared: 0.3s, other imports: 2.1s, setup codeformer: 0.2s, list SD models: 0.1s, load scripts: 2.1s, create ui: 0.5s, gradio launch: 4.3s).
Civitai: Found 5 resources missing info files
Civitai: Found 19 resources missing preview images
Civitai: No info found on Civitai
Civitai: Found 15 hash matches
Civitai: Updated 0 preview images
Loading VAE weights found near the checkpoint: D:\stable-diffusion-webui\models\Stable-diffusion\aingdiffusion_v20.vae.safetensors
Applying attention optimization: Doggettx... done.
Model loaded in 19.7s (load weights from disk: 0.8s, create model: 0.5s, apply weights to model: 13.6s, apply dtype to VAE: 2.3s, load VAE: 1.3s, calculate empty prompt: 1.1s).
  0%|                                                                                           | 0/20 [00:00<?, ?it/s]D:\stable-diffusion-webui\venv\lib\site-packages\torchsde\_brownian\brownian_interval.py:594: UserWarning: Should have tb<=t1 but got tb=14.61164379119873 and t1=14.611643.
  warnings.warn(f"Should have {tb_name}<=t1 but got {tb_name}={tb} and t1={self._end}.")
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:06<00:00,  3.19it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:06<00:00,  3.19it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:06<00:00,  3.29it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:06<00:00,  3.19it/s]
100%|██████████████████████████████████████████████████████████████████████████████████| 20/20 [00:06<00:00,  3.29it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:06<00:00,  3.21it/s]
Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [00:06<00:00,  3.24it/s]
```


### Additional information

I’m hosting the WebUI on a server, reversed proxy it to cloud flare, and then I access the WebUI via my domain