Visualizzazione dei risultati da 1 a 3 su 3
  1. #1

    Ridurre il numero di richieste effettuate al server per i files con Minify

    Buona sera a tutti.
    Ho letto un articolo sul web, che utilizzando uno script in php il Minify, in pratica come riportato sul sito: "questo script infatti prende tutti i .js e .css che abbiamo e li concatena in un unico file preservandone l’ordine corretto".

    Ora qualcuno di voi lo utilizza?
    Se si, potreste dirmi come?
    Grazie mille....

  2. #2
    Prova ha cercare su internet degli esempi
    Your time is limited, so don't waste it living someone else's life. Stay hungry, stay foolish. (Steve Jobs)

  3. #3
    ciao buon giorno...si l'ho trovato,scaricato ed installato...solo che non ho capito una cosa.
    Il mio sito ha questo indirizzo www.miosito.com/new/
    caricando la cartella min_unit_tests per eseguire i test e la min con tutti i suoi file compreso il config.php, quando vado testare in questo modo:

    www.miosito.com/new/min_unit_tests/test_all.php mi restituisce una pagina dove alla fine ci sono queste 6 righe che riportano una serie di errori credo, sapresti dirmi il perchè?
    codice:
    !FAIL: environment : DOCUMENT_ROOT should not end in trailing slash (1 of 82 tests run so far have failed)
    PASS: environment : DOCUMENT_ROOT should pass realpath() (82 of 83 tests run so far have passed)
    PASS: environment : DOCUMENT_ROOT should contain this test file (83 of 84 tests run so far have passed)
    
    DOCUMENT_ROOT is set to: '/web/htdocs/www.miosito.com/home/'. If you cannot modify this, consider setting $min_documentRoot in config.php
    
    !NOTE: environment : /min_unit_tests/ is not directly inside DOCUMENT_ROOT
    !FAIL: environment : PHP/server should not auto-encode application/x-javascript output (2 of 85 tests run so far have failed)
    Domanda: forse la cartella min deve essere caricata a questo livello
    www.miosito.com/min e non www.miosito.com/new/min?

    grazie dell'aiuto

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.