Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iframe performance issue #663

Closed
TIME-GATE opened this issue Jun 17, 2024 · 2 comments
Closed

iframe performance issue #663

TIME-GATE opened this issue Jun 17, 2024 · 2 comments
Labels
needs triage This issue has not been triaged by maintainers

Comments

@TIME-GATE
Copy link

Describe the bug

sometimes open the website is very by iframe, it will be normal open this website from new page tab

Reproduction

Embedding a website via iframe can be slow to open, sometimes it gets stuck, I don't know the reproduction steps yet, it's easy to reproduce try a few times, but if I open the website directly, it's never slow, even if I clear all the cache directly.

Additional context

image

@TIME-GATE TIME-GATE added the needs triage This issue has not been triaged by maintainers label Jun 17, 2024
@fancyapps
Copy link
Owner

Hi,

Try disabling auto sizing and/or preload:

Fancybox.bind("[data-fancybox]", {
  Html: {
    autoSize: false,
  },
  preload : false
});

Sorry, I don't think there's anything else that can be done that will help.

@TIME-GATE
Copy link
Author

@fancyapps thanks, got it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage This issue has not been triaged by maintainers
Projects
None yet
Development

No branches or pull requests

2 participants