![]() |
![]() |
|
| Condividi questo contenuto nei Social Network: |
|
Tweet |
|
|
|
Ti stiamo aspettando: Registrati subito e gratis. Entra a far parte di una delle comunità più attive in Italia. Se hai dimenticato i tuoi dati li puoi recuperare subito. |
||||
|
|||||||||
Hey Amico Visitatore, Condividi con noi le tue idee e la tua conoscenza Aprendo una nuova discussione nella sezione Consigli ed aiuti per il sito |
|
|
LinkBack | Strumenti di discussione |
|
|
#1 (permalink) |
|
User
Data di registrazione: Nov 2008
Ubicazione: Liguria
Messaggi: 238
|
[Case History] velocità caricamento sito
Salve a tutti,
ho un sito sui browser game che non so se posso citare nella discussione, che si trova ai primi posti su google. Quando effettuo la ricerca browser game infatti lo trovo (attualmente al primo posto). Se clicco per aprirlo trovo ci metta troppo tempo ad esser caricato. Mentre se clicco su qualsiasi altro risultato della serp, il sito viene aperto quasi istantaneamente. Volevo chiedervi 1 se anche a voi impiega troppo tempo ad accedere al mio sito, rispetto agli altri. 2 da cosa può essere dovuto e come posso risolvere. 3 pensate possa penalizzarmi la situazione attuale? Grazie. Sito: browser-game.it Obiettivi del sito: € Argomento o settore da studiare: Posizionamento e visibilità Descrizione di particolari problematiche o di specifiche richieste: lento nel caricare le pagine. |
|
__________________
Giochi MMORPG |
|
|
|
|
|
|
|
|
#3 (permalink) |
|
User
Data di registrazione: May 2011
Ubicazione: L'Aquila
Messaggi: 47
|
ciao, scusate se mi intrometto ma anch'io ho lo stesso problema.. Ho provato ad usare page speed e mi dà un risultato bassissimo..54/100. Tra le varie cose che mi dice c'è da mettere il caching delle immagini e dei css, un altro relativo ai file js dice:
"Le seguenti risorse esterne hanno corpi di risposta di piccole dimensioni. L'incorporamento della risposta in HTML può ridurre i blocchi nel rendering della pagina." Sapete come posso fare il caching e a cosa si riferisce il secondo messaggio? Grazie, Francesco |
|
|
|
|
|
#4 (permalink) |
|
User
Data di registrazione: Jan 2011
Ubicazione: Torino
Messaggi: 190
|
Per attivare il cache browser, inserisci questo codice nel file .htaccess
<FilesMatch “\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|doc x|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mo v|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf| odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ra m|swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xl w|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|D OCX|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|MDB|MID|MIDI| MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|ODB|ODC|OD F|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA| RAM|SWF|TAR|TIF|TIFF|WAV|WMA|WRI|XLA|XLS|XLSX|XLT| XLW|ZIP)$”> Header set Cache-Control “max-age=37739520, public” </FilesMatch> Dopo che l'hai inserito, prova a effettuare un altro test con pagespeed. |
|
|
|
|
|
#7 (permalink) |
|
User
Data di registrazione: May 2011
Ubicazione: L'Aquila
Messaggi: 47
|
il file è questo qui.. il sito è asteconsulting.com
Codice:
DirectoryIndex index.php #aggiunto per togliere index.php da URL wiki RewriteEngine On RewriteRule ^/?WikiAste/(.*)$ /mediawiki-1.16.2/index.php?title=$1 [PT,L,QSA] RewriteRule ^/?WikiAste/*$ /mediawiki-1.16.2/index.php [L,QSA] #fine RewriteBase / ########## Begin - Rewrite rules to block out some common exploits ## If you experience problems on your site block out the operations listed below ## This attempts to block the most common type of exploit `attempts` to Joomla! # ## Deny access to extension xml files (uncomment out to activate) #<Files ~ "\.xml$"> #Order allow,deny #Deny from all #Satisfy all #</Files> ## End of deny access to extension xml files # Block out any script trying to set a mosConfig value through the URL RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR] # Block out any script trying to base64_encode crap to send via URL RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR] # Block out any script that includes a <script> tag in URL RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR] # Block out any script trying to set a PHP GLOBALS variable via URL RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR] # Block out any script trying to modify a _REQUEST variable via URL RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) # Send all blocked request to homepage with 403 Forbidden error! RewriteRule ^(.*)$ index.php [F,L] # ########## End - Rewrite rules to block out some common exploits ########## Begin - Joomla! core SEF Section # RewriteCond %{HTTP_HOST} ^asteconsulting\.com [NC] RewriteRule (.*) asteconsulting.com/$1 [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !^/index.php RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC] RewriteRule (.*) index.php RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] # ########## End - Joomla! core SEF Section AddType application/force-download .pdf php_value sendmail_path /usr/lib/sendmail |
|
|
|
|
|
#8 (permalink) |
|
User
Data di registrazione: Jan 2011
Ubicazione: Torino
Messaggi: 190
|
Codice:
<FilesMatch "\.(asf|asx|wax|wmv|wmx|avi|bmp|class|divx|doc|docx|exe|gif|gz|gzip|ico|jpg|jpeg|jpe|mdb|mid|midi|mov|qt|mp3|m4a|mp4|m4v|mpeg|mpg|mpe|mpp|odb|odc|odf|odg|odp|ods|odt|ogg|pdf|png|pot|pps|ppt|pptx|ra|ram|swf|tar|tif|tiff|wav|wma|wri|xla|xls|xlsx|xlt|xlw|zip|ASF|ASX|WAX|WMV|WMX|AVI|BMP|CLASS|DIVX|DOC|DOCX|EXE|GIF|GZ|GZIP|ICO|JPG|JPEG|JPE|MDB|MID|MIDI|MOV|QT|MP3|M4A|MP4|M4V|MPEG|MPG|MPE|MPP|ODB|ODC|ODF|ODG|ODP|ODS|ODT|OGG|PDF|PNG|POT|PPS|PPT|PPTX|RA|RAM|SWF|TAR|TIF|TIFF|WAV|WMA|WRI|XLA|XLS|XLSX|XLT|XLW|ZIP)$"> Header set Cache-Control "max-age=37739520, public" </FilesMatch> # BEGIN Gzip <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript </IfModule> # END Gzip DirectoryIndex index.php #aggiunto per togliere index.php da URL wiki RewriteEngine On RewriteRule ^/?WikiAste/(.*)$ /mediawiki-1.16.2/index.php?title=$1 [PT,L,QSA] RewriteRule ^/?WikiAste/*$ /mediawiki-1.16.2/index.php [L,QSA] #fine RewriteBase / ########## Begin - Rewrite rules to block out some common exploits ## If you experience problems on your site block out the operations listed below ## This attempts to block the most common type of exploit `attempts` to Joomla! # ## Deny access to extension xml files (uncomment out to activate) #<Files ~ "\.xml$"> #Order allow,deny #Deny from all #Satisfy all #</Files> ## End of deny access to extension xml files # Block out any script trying to set a mosConfig value through the URL RewriteCond %{QUERY_STRING} mosConfig_[a-zA-Z_]{1,21}(=|\%3D) [OR] # Block out any script trying to base64_encode crap to send via URL RewriteCond %{QUERY_STRING} base64_encode.*\(.*\) [OR] # Block out any script that includes a <script> tag in URL RewriteCond %{QUERY_STRING} (\<|%3C).*script.*(\>|%3E) [NC,OR] # Block out any script trying to set a PHP GLOBALS variable via URL RewriteCond %{QUERY_STRING} GLOBALS(=|\[|\%[0-9A-Z]{0,2}) [OR] # Block out any script trying to modify a _REQUEST variable via URL RewriteCond %{QUERY_STRING} _REQUEST(=|\[|\%[0-9A-Z]{0,2}) # Send all blocked request to homepage with 403 Forbidden error! RewriteRule ^(.*)$ index.php [F,L] # ########## End - Rewrite rules to block out some common exploits ########## Begin - Joomla! core SEF Section # RewriteCond %{HTTP_HOST} ^asteconsulting\.com [NC] RewriteRule (.*) asteconsulting.com/$1 [R=301,L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !^/index.php RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ [NC] RewriteRule (.*) index.php RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L] # ########## End - Joomla! core SEF Section AddType application/force-download .pdf php_value sendmail_path /usr/lib/sendmail BEGIN Gzip <IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript </IfModule> # END Gzip in alternativa lo puoi attivare dal pannello di Joomla, attiva anche la cache. Minimizza i Javascript e ottimizza le immagini. |
|
|
|
|
|
#9 (permalink) |
|
User
Data di registrazione: May 2011
Ubicazione: L'Aquila
Messaggi: 47
|
Il GZIP ce l'avevo già attivato anche se ancora non ho capito a cosa serve. La cache no ma ora l'ho attivata. Il problema è che se inserisco il codice che mi hai dato nell' htaccess mi dò errore apache...
![]() |
|
|
|
|
|
#10 (permalink) |
|
User
Data di registrazione: Jan 2011
Ubicazione: Torino
Messaggi: 190
|
Ho visto che il punteggio è passato da 54 a 70 da quando hai attivato la cache, mentre la compressione GZIP è da abilitare secondo Page Speed: prova ad inserire quel codice che ti ho dato.
Prova ad inserire il codice in fondo a htaccess. |
|
|
|
|
|
#11 (permalink) |
|
Data di registrazione: Apr 2011
Ubicazione: Bologna
Messaggi: 386
|
ci sono un paio di chiamate a risorse che hanno un link sbagliato
adv.heyos.com/ffp2.swf browser-game.it/wp-content/themes/Nova/js/Chunk_Five_400.font.js specifica altezza e larghezza per browser-game.it/wp-content/uploads/2011/02/timthumb.php_2.png poi puoi ottimizzare le immagini che il tool ti indica |
|
|
|