bonjour aprés une analyse sur google speed 45/100 ,j'ai essayé de intéger le plugin de JCH mais il y a une enorme conflit avec mon site , j'ai configuré le fichier .htacess avec ce code
j'ai obtenu des erreur dans le console et j'arrive pas de naviguer dans le site
Code:
########## Begin - ETag Optimization ## This rule will create an ETag for files based only on the modification ## timestamp and their size. This works wonders if you are using rsync'ed ## servers, where the inode number of identical files differs. ## Note: It may cause problems on your server and you may need to remove it FileETag MTime Size ########## End - ETag Optimization ########## Begin - Optimal default expiration time ## Note: this might cause problems and you might have to comment it out by ## placing a hash in front of this section's lines ## Note: Some people prefer using "now plus 1 month" instead of "now plus 1 year". ## Suit to taste. <IfModule mod_expires.c> # Enable expiration control ExpiresActive On # Default expiration: 1 hour after request ExpiresDefault "now plus 1 hour" # CSS and JS expiration: 1 week after request ExpiresByType text/css "now plus 1 week" ExpiresByType application/javascript "now plus 1 week" ExpiresByType application/x-javascript "now plus 1 week" # Image files expiration: 1 month after request ExpiresByType image/bmp "now plus 1 month" ExpiresByType image/gif "now plus 1 month" ExpiresByType image/jpeg "now plus 1 month" ExpiresByType image/jp2 "now plus 1 month" ExpiresByType image/pipeg "now plus 1 month" ExpiresByType image/png "now plus 1 month" ExpiresByType image/svg+xml "now plus 1 month" ExpiresByType image/tiff "now plus 1 month" ExpiresByType image/vnd.microsoft.icon "now plus 1 month" ExpiresByType image/x-icon "now plus 1 month" ExpiresByType image/ico "now plus 1 month" ExpiresByType image/icon "now plus 1 month" ExpiresByType text/ico "now plus 1 month" ExpiresByType application/ico "now plus 1 month" ExpiresByType image/vnd.wap.wbmp "now plus 1 month" ExpiresByType application/vnd.wap.wbxml "now plus 1 month" ExpiresByType application/smil "now plus 1 month" # Audio files expiration: 1 month after request ExpiresByType audio/basic "now plus 1 month" ExpiresByType audio/mid "now plus 1 month" ExpiresByType audio/midi "now plus 1 month" ExpiresByType audio/mpeg "now plus 1 month" ExpiresByType audio/x-aiff "now plus 1 month" ExpiresByType audio/x-mpegurl "now plus 1 month" ExpiresByType audio/x-pn-realaudio "now plus 1 month" ExpiresByType audio/x-wav "now plus 1 month" # Movie files expiration: 1 month after request ExpiresByType application/x-shockwave-flash "now plus 1 month" ExpiresByType x-world/x-vrml "now plus 1 month" ExpiresByType video/x-msvideo "now plus 1 month" ExpiresByType video/mpeg "now plus 1 month" ExpiresByType video/mp4 "now plus 1 month" ExpiresByType video/quicktime "now plus 1 month" ExpiresByType video/x-la-asf "now plus 1 month" ExpiresByType video/x-ms-asf "now plus 1 month" </IfModule> ########## End - Optimal expiration time ########## Begin - Automatic compression of resources # Compress text, html, javascript, css, xml, kudos to Komra.de # May kill access to your site for old versions of Internet Explorer # The server needs to be compiled with mod_deflate otherwise it will send HTTP 500 Error. # mod_deflate is not available on Apache 1.x series. Can only be used with Apache 2.x server. # AddOutputFilterByType is now deprecated by Apache. Use mod_filter in the future. <IfModule mod_deflate.c> ############################################ ## enable apache served files compression Gzip # http://forum.ovh.com/showthread.php?45461-Magento-sur-un-mutualis%E9-OVH-Lequel&p=324717&viewfull=1#post324717 ## http://developer.yahoo.com/performance/rules.html#gzip # Activer le filtre pour tout le contenu SetOutputFilter DEFLATE AddOutputFilterByType DEFLATE text/plain text/html text/xml text/css application/xml application/xhtml+xml application/rss+xml application/javascript application/x-javascript # Netscape 4.x crée quelques problèmes¦ BrowserMatch ^Mozilla/4 gzip-only-text/html # Netscape 4.06-4.08 en ont encore d'autres BrowserMatch ^Mozilla/4\.0[678] no-gzip # IE se déguise en Netscape, mais OK BrowserMatch \bMSIE !no-gzip !gzip-only-text/html # On ne compresse pas les images: le sont déja SetEnvIfNoCase Request_URI \.(?:gif|jpe?g|png)$ no-gzip dont-vary # Pour que les proxies ne transmettent pas un mauvais contenu Header append Vary User-Agent env=!dont-vary #End Deflate </IfModule> ########## End - Automatic compression of resources
Code:
scriptInjector.js:191 sI: adding WIDGET_CONTENT_MESSAGE message listener reservespaceifenabled.js:5 rsie: reserveSpace reservespaceifenabled.js:7 rsie: getToolbarData reservespaceifenabled.js:66 rsie: leaving js contentScript.js:42 cS: logger: Array[1] : undefined contentScript.js:42 cS: logger: Array[1] : undefined contentScript.js:42 cS: logger: Array[1] : document ready contentScript.js:42 cS: logger: Array[1] : running callback contentScript.js:42 cS: logger: Array[1] : undefined contentScript.js:229 cS: !toolbarData contentScript.js:42 cS: logger: Array[1] : firing tab complete contentScript.js:80 cS: sending TAB_COMPLETE reservespaceifenabled.js:15 rsie: getToolbarDataCallback(Arguments[1]) reservespaceifenabled.js:25 rsie: window.toolbarData: Object reservespaceifenabled.js:26 rsie: window.Content: Object contentScript.js:42 cS: logger: Array[1] : undefined contentScript.js:42 cS: logger: Array[1] : undefined contentScript.js:42 cS: logger: Array[1] : document ready contentScript.js:42 cS: logger: Array[1] : running callback contentScript.js:42 cS: logger: Array[1] : undefined contentScript.js:42 cS: logger: Array[1] : firing tab complete contentScript.js:80 cS: sending TAB_COMPLETE reservespaceifenabled.js:35 rsie: getToolbarDataCallback - done http://swissprogress.ch/creation-site-internet.html Failed to load resource: the server responded with a status of 404 (Not Found) contentScript.js:234 cs: onRequestListener(Arguments[3]) contentScript.js:234 cs: onRequestListener(Arguments[3]) contentScript.js:234 cs: onRequestListener(Arguments[3])
Commentaire