Jump to content
  • 0

Preview is fast. Deployed is slow.


JohnM
 Share

Question

While developing my DataPage (a Submission Form), clicking Preview loads and renders my form in one or two seconds. :-) When deployed, that same DataPage take seven or eight seconds to load and render. :-( 

Anything I can do to speed up the deployed version?

Any suggestions welcome!

 

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0

I created a stripped down submission form—no headers or footers, no lookups, just 14 textareas or checkboxes—and used Chrome’s Developer Tools to measure performance.

WIth the deployed version, I get load times like these

image.png.1cba7ebe570895b7302c9e45f06887b0.png

image.png.aadb24469ead40d3e0bf5ffb3adaf4c0.png

image.png.b2109620268316493504c0001833f756.png

and a waterfall like this

image.thumb.png.2e506b2f2d8713db2c2cbeb4083cc622.png

 

With the Preview, I get load times like these

image.png.76a8747138c04f775bd193a3265560c8.png

image.thumb.png.00cee9366edee054ac42550a03b30cec.png

image.thumb.png.57d4660fc379125eb84ebf7a49d4c64a.png

and a waterfall like this

image.thumb.png.e634888fdcbc38e5e636e2ee86e62c59.png

Why does the deployed version take six or more times as long to load? Why is the waterfall so much different?

--

 

image.png

image.png

image.png

Link to comment
Share on other sites

  • 0

Weird. Can't say I experience that. DataPages might be slow at times but the preview and deployed is pretty much consistent when compared to each other.

Is your account perhaps inside the Sites that they have patched yesterday? That might be a plausible reason. Check here I think its 14 and 11

https://twitter.com/CaspioStatus?s=20&t=TIqiZsjoo60hjzB9lYLcUQ

Link to comment
Share on other sites

  • 0

Here are the things that I check if I experience slowness in my DataPages that is not mentioned above:

  • Internet connection: Make sure it was stable.
  • Number of dropdowns with lookups (and other field that uses lookups): Make sure that you don't have lookups with large amount of options and/or most of your fields uses it. 
  • File/Image rendering: Lessen or not use to much of files in your DataPage.
  • Complex calculation: You can use the Table's formula or trigger if needed.
  • Complex CSS or JavaScript: If you can simplify them, the better.
  • Embeded iFrame codes: Do not use/add this inside a Datapage as much as possible. 

I hope this helps. :) 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  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.

Loading...
 Share

×
×
  • Create New...