Jump to content

slow php performance within iframe


ThunderAI

Recommended Posts

Hi!

I have a php document that runs very fast when not within an iframe, and slows down a little when it is placed within an iframe and then even slower when the iframe is placed within a table.

I have tried making the layout completly from CSS, but the iframe slows down within a DIV just as bad as it does within a TD tag.

Is there anyway to speed th eperformance of the iframe, or any common tips?
Link to comment
Share on other sites

I'm having a hard time believing that the performance decrease is caused by the iframe and td tags, but I might be wrong.

Try to make a timer that will output the total execution time and echo it in the PHP script. Then run it in all those three ways a couple of times and take the average time and then you should be able to determine if there is any decrease caused by the tags (which I doubt there is).
Link to comment
Share on other sites

i've done all the timer code, and the php script when run within an iframe inside of a table will run at a mimimum 1 second longer on localhost then when the script is not within an iframe or a table.  That 1 second balloons over the internet.

[quote author=Daniel0 link=topic=118982.msg486745#msg486745 date=1166381175]
I'm having a hard time believing that the performance decrease is caused by the iframe and td tags, but I might be wrong.

Try to make a timer that will output the total execution time and echo it in the PHP script. Then run it in all those three ways a couple of times and take the average time and then you should be able to determine if there is any decrease caused by the tags (which I doubt there is).
[/quote]
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.