MyBB Internal: One or more warnings occured. Please contact your administrator for assistance.
speeding up redirect
Current time: 03-01-2021, 05:11 AM Hello There, Guest! (LoginRegister)

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
speeding up redirect
03-23-2013, 06:24 AM
Post: #1
speeding up redirect
Hello,
if I got it right, a redirect can contain a message body. Would it make sense to include some <script src="a.js"> tags in the response body, if I know that the script will be loaded by the redirect target page?

If a browser would parse the body and maybe even read the message body and fetch the java script file (assumed cacheable by the browser), the browser may have the script already, before it can parse the redirect target and find there, that a.js have to be read from the server.

Are there any good, best practices to speed up redirects (beside getting rid of redirects)?

kind regards,

Torsten
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
speeding up redirect - Torsten Robitzki - 03-23-2013 06:24 AM
RE: speeding up redirect - pmeenan - 03-27-2013, 12:03 AM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)