sysmac01 Posted November 10, 2013 Share Posted November 10, 2013 Hola mi página ha aumentado mucho el tiempo de carga y en los analisis he descubierto que duplica la carga de imagenes de esta forma <--- The following resources have identical contents, but are served from different URLs. Serve these resources from a consistent URL to save 1 request(s) and 41.4KiB. http://www.milarperalta.com/modules/homeslider/images/1ccda43e9bb0b9215e56267aa0738ba4.jpg http://www.milarperalta.com/modules/homeslider/images/1ccda43e9bb0b9215e56267aa0738ba4.jpg?CSRF_TOKEN=e0af42fe374886248f6092db02ecde629eae9ee0 ---> en concreto 14 imagenes y es lo que ralentiza la respuesta del servidor entre 10 y 15 segundos no se lo que tengo que arreglar para que esto no se producca en el .htacces tengo esto que se me hace muy estraño no se si está bien tanta regla de reescritura <--- # ImagesRewriteCond %{HTTP_HOST} ^www.milarperalta.com$RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L]RewriteCond %{HTTP_HOST} ^www.milarperalta.com$RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L]RewriteCond %{HTTP_HOST} ^www.milarperalta.com$RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L]RewriteCond %{HTTP_HOST} ^www.milarperalta.com$RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L]RewriteCond %{HTTP_HOST} ^www.milarperalta.com$RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L]RewriteCond %{HTTP_HOST} ^www.milarperalta.com$RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L]RewriteCond %{HTTP_HOST} ^www.milarperalta.com$RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L]RewriteCond %{HTTP_HOST} ^www.milarperalta.com$RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L]RewriteCond %{HTTP_HOST} ^www.milarperalta.com$RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L]RewriteCond %{HTTP_HOST} ^www.milarperalta.com$RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L]# AlphaImageLoader for IE and fancyboxRewriteCond %{HTTP_HOST} ^www.milarperalta.com$RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L]--> Link to comment Share on other sites More sharing options...
Recommended Posts