fnrender for crud application slowing
fnrender for crud application slowing
I want to use datatables in php crud application with 3 images for read, update and delete
On my column action i put this code.
[code]
{"bSortable":false,
"fnRender": function(o) {
return "";
}
[/code]
This works fine but the rendering is slowing.
Many thanks for solution to accelerate rendering !!!
On my column action i put this code.
[code]
{"bSortable":false,
"fnRender": function(o) {
return "";
}
[/code]
This works fine but the rendering is slowing.
Many thanks for solution to accelerate rendering !!!
This discussion has been closed.
Replies
Allan
I read the log apache for each row i have get request for each image
199.242.28.74 - - [08/Mar/2010:10:30:44 +0100] "GET /dpi_images/tools/enable.png HTTP/1.1" 304 - "http://dpi.r.sf.intra.laposte.fr/synthese/ref_impact_nt/index.php?acte=fictrav&pageID=" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
199.242.28.74 - - [08/Mar/2010:10:30:44 +0100] "GET /dpi_images/tools/enable.png HTTP/1.1" 304 - "http://dpi.r.sf.intra.laposte.fr/synthese/ref_impact_nt/index.php?acte=fictrav&pageID=" "Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 2.0.50727)"
.....
I try to reduce rendering time adding caching jquery function
[code]
function submit_el(el) {
$.cacheImage('/dpi_images/tools/enable.png','/dpi_images/tools/update2.png','/dpi_images/tools/delete.png');
return "";
}
[/code]
You can find this function here http://plugins.jquery.com/project/cacheimage
The rendering time is always longer for time i continue to use rendering with text whitout images
[code]
return "Voir Supp Edit";
[/code]
Thanks !!!
I resolve in changing parameters of cache in IE.