Click here to Skip to main content
15,922,325 members
Home / Discussions / Web Development
   

Web Development

 
QuestionGoogle Urchin 6 Alternative Pin
Civic0616-Aug-11 2:26
Civic0616-Aug-11 2:26 
QuestionWeb page optimization when displaying same image several times Pin
neualex11-Aug-11 17:37
neualex11-Aug-11 17:37 
Hi folks,

Let's say I need to display 1000 products in one single page on a table with 2 columns: Product Image and Product Name.

Let's assume, I only have 2 product images, the first image will be displayed on odd-numbered rows and the second image on even rows as shown below.
XML
<table>
<tr>
<td><img src="odd.jpg"></td>
<td>One</td>
</tr>
<tr>
<td><img src="even.jpg"></td>
<td>Two</td>
</tr>
<tr>
<td><img src="odd.jpg"></td>
<td>Three</td>
</tr>
<tr>
<td><img src="even.jpg"></td>
<td>Four</td>
</tr>
...
</table>

I assume the web browser will request the web server to send "odd.jpg" and "even.jpg" 500 times each (1000 total).

Is this assumption correct?

Or, are web browsers optimized by default to request the same image once and apply it across the page
as needed?

Your support is appreciated.

Thanks,
...Alex
AnswerRe: Web page optimization when displaying same image several times Pin
Peter_in_278011-Aug-11 18:46
professionalPeter_in_278011-Aug-11 18:46 
AnswerRe: Web page optimization when displaying same image several times [modified] Pin
Not Active12-Aug-11 1:08
mentorNot Active12-Aug-11 1:08 
GeneralRe: Web page optimization when displaying same image several times Pin
Gerben Jongerius12-Aug-11 3:41
Gerben Jongerius12-Aug-11 3:41 
GeneralRe: Web page optimization when displaying same image several times Pin
Not Active12-Aug-11 4:16
mentorNot Active12-Aug-11 4:16 
GeneralRe: Web page optimization when displaying same image several times Pin
#realJSOP1-Sep-11 9:50
professional#realJSOP1-Sep-11 9:50 
GeneralRe: Web page optimization when displaying same image several times Pin
Not Active1-Sep-11 11:15
mentorNot Active1-Sep-11 11:15 
AnswerRe: Web page optimization when displaying same image several times Pin
cjoki1-Sep-11 11:16
cjoki1-Sep-11 11:16 
Question[IE]Sending non-english characters via jquery.ajax Pin
benams11-Aug-11 2:10
benams11-Aug-11 2:10 
QuestionData missing While importing Text file (.txt) to sql server 2008 using ASP Pin
priyaahh9-Aug-11 20:12
priyaahh9-Aug-11 20:12 
QuestionProblem with CSS in Safari, Firefox, Chrome etc [modified] Pin
Payal_e_m9-Aug-11 16:17
Payal_e_m9-Aug-11 16:17 
AnswerRe: Problem with CSS in Safari, Firefox, Chrome etc Pin
Ed Nutting23-Aug-11 0:17
Ed Nutting23-Aug-11 0:17 
QuestionMicrosoft Web Dev Tools Pin
G-Tek8-Aug-11 4:15
G-Tek8-Aug-11 4:15 
AnswerRe: Microsoft Web Dev Tools Pin
Not Active8-Aug-11 4:59
mentorNot Active8-Aug-11 4:59 
QuestionHow can I include an arrow graphic on a selected menu item? Pin
Brady Kelly5-Aug-11 3:25
Brady Kelly5-Aug-11 3:25 
AnswerRe: How can I include an arrow graphic on a selected menu item? Pin
GenJerDan5-Aug-11 3:56
GenJerDan5-Aug-11 3:56 
AnswerRe: How can I include an arrow graphic on a selected menu item? Pin
enhzflep5-Aug-11 11:26
enhzflep5-Aug-11 11:26 
GeneralRe: How can I include an arrow graphic on a selected menu item? Pin
Brady Kelly5-Aug-11 20:27
Brady Kelly5-Aug-11 20:27 
Questionwhat does this mean in the css3 font? Pin
cjoki4-Aug-11 4:23
cjoki4-Aug-11 4:23 
AnswerRe: what does this mean in the css3 font? Pin
User 17164924-Aug-11 5:28
professionalUser 17164924-Aug-11 5:28 
GeneralRe: what does this mean in the css3 font? Pin
cjoki4-Aug-11 10:52
cjoki4-Aug-11 10:52 
GeneralRe: what does this mean in the css3 font? Pin
User 17164924-Aug-11 12:13
professionalUser 17164924-Aug-11 12:13 
GeneralRe: what does this mean in the css3 font? Pin
cjoki5-Aug-11 5:14
cjoki5-Aug-11 5:14 
QuestionContent Management System? Pin
Waqas Ahmad Abbasi3-Aug-11 20:29
Waqas Ahmad Abbasi3-Aug-11 20:29 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.