(javascript / else / noscript iframe) to reduce server processing?

I maintain a catalog of retail products on my website. I want to place the burden of data processing and inventory rendering on the client browser in order to reduce server-side processing and throughput. I also want the content to be downloaded using a bot.

I present it this way, but I wonder if there is a better solution:

1: if javascript is enabled, process the client part of the data

2: If javascript is not enabled, handle the data server side:

<noscript>
<iframe>
php processing script
</iframe>
</noscript>

Also, make sure that the iframe will not load if Javascript is enabled. If the browser processes it anyway, then this will defeat my goal.

, , , Google iframe. , iframe , . Iframe , , google .

, Skibulk

+5
2

, iframe , Javascript

<noscript> . , - " PHP " , .

, iframe, , , , <noscript> .

<noscript>
    <iframe src="yourserverpage"></iframe>
</noscript>

, , Google iframe. iframe ,

, .

, , , , iframe. , , HTML "PageA"

<noscript>
    <iframe src="PageB"></iframe>
</noscript>

iframe B, .

, :

<link rel="canonical" href="PageA">

<head> HTML-, . , , , . , " " , .

!

, . JavaScript . JavaScript , , , .

+1

PHP . url iframe, , , HTML iframe, . , URL- . , . Firefox/Firebug, , URL.

<noscript>
<iframe src="/example.com/deferred-load.php">
</iframe>
</noscript>

, , Google iframe .

0

All Articles