Visualizzazione dei risultati da 1 a 2 su 2

Hybrid View

  1. #1

    Remove query strings from static resources

    Buon giorno a tutti.
    Ho testato il sito con PageSpeed e tra i vari errori c'è questo:
    "Remove query strings from static resources"
    e nello specifico:

    Resources with a "?" in the URL are not cached by some proxy caching servers. Remove the query string and encode the parameters into the URL for the following resources:

    https://maps.googleapis.com/maps/api/js?key=AIzaSyDySogX5C9N6fjkcOYFhZhtzhCiPuH6uyc


    come faccio a fare quello che chiede?
    Grazie mille.

  2. #2
    Moderatore di PHP L'avatar di Alhazred
    Registrato dal
    Oct 2003
    Messaggi
    12,503
    Si dovrebbe fare ad esempio usando htaccess, devi mappare tale url in modo che scrivendola in questo modo
    codice:
    https://maps.googleapis.com/maps/api/js/AIzaSyDySogX5C9N6fjkcOYFhZhtzhCiPuH6uyc
    la parte dopo l'ultimo / sia interpretato come parametro get.
    Il problema è che non è verso il tuo dominio, ma verso Google, dove quindi non hai controllo.
    Se hai solo questo problema o gli altri sono comunque su URL che vanno verso altri domini non me ne preoccuperei.

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.