Evo ja sam novi ovdje, znam nekaj omalo o fotkanju a još manje o Jooomli al trudim se
www.romanskiphoto.com (http://www.romanskiphoto.com)
Dobrodošao romanski!
Pa Romane,
nakon dugo godina odbijanja korištenja joomle, vidim da si ipak popustio.
Dobrodošao !!!
Pozdrav!
Vidim nekih lijepih aktova i fotki :geek:
Dobro nam došao, Romane...
Pozdrav Romanski.
Kako imaš foto stranicu stavi u .htaccess za "Header expires". Da ti posjetitelji povlače fotografije sa svog diska, ne sa tvog servera. Nema potrebe da ih stalno povlače sa servera ako ih već imaju u cache od browsera. Ubrzat će ti stranicu puno.
Imaš ovdje primjer. 7 dana, po mom ukusu dovoljno.
########## 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
<IfModule mod_expires.c>
# Enable expiration control
ExpiresActive On
# Default expiration: 1 hour after request
ExpiresDefault "now plus 1 week"
# 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 week after request
ExpiresByType image/bmp "now plus 1 week"
ExpiresByType image/gif "now plus 1 week"
ExpiresByType image/jpeg "now plus 1 week"
ExpiresByType image/jp2 "now plus 1 week"
ExpiresByType image/pipeg "now plus 1 week"
ExpiresByType image/png "now plus 1 week"
ExpiresByType image/svg+xml "now plus 1 week"
ExpiresByType image/tiff "now plus 1 week"
ExpiresByType image/vnd.microsoft.icon "now plus 1 week"
ExpiresByType image/x-icon "now plus 1 week"
ExpiresByType image/ico "now plus 1 week"
ExpiresByType image/icon "now plus 1 week"
ExpiresByType text/ico "now plus 1 week"
ExpiresByType application/ico "now plus 1 week"
ExpiresByType image/vnd.wap.wbmp "now plus 1 week"
ExpiresByType application/vnd.wap.wbxml "now plus 1 week"
ExpiresByType application/smil "now plus 1 week"
# Audio files expiration: 1 week after request
ExpiresByType audio/basic "now plus 1 week"
ExpiresByType audio/mid "now plus 1 week"
ExpiresByType audio/midi "now plus 1 week"
ExpiresByType audio/mpeg "now plus 1 week"
ExpiresByType audio/x-aiff "now plus 1 week"
ExpiresByType audio/x-mpegurl "now plus 1 week"
ExpiresByType audio/x-pn-realaudio "now plus 1 week"
ExpiresByType audio/x-wav "now plus 1 week"
# Movie files expiration: 1 week after request
ExpiresByType application/x-shockwave-flash "now plus 1 week"
ExpiresByType x-world/x-vrml "now plus 1 week"
ExpiresByType video/x-msvideo "now plus 1 week"
ExpiresByType video/mpeg "now plus 1 week"
ExpiresByType video/mp4 "now plus 1 week"
ExpiresByType video/quicktime "now plus 1 week"
ExpiresByType video/x-la-asf "now plus 1 week"
ExpiresByType video/x-ms-asf "now plus 1 week"
</IfModule>
########## End - Optimal expiration time