The following warnings occurred:
Warning [2] Undefined array key "threadviews_countguests" - Line: 745 - File: showthread.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php 745 errorHandler->error_callback
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/inc/class_parser.php 584 errorHandler->error_callback
/inc/class_parser.php 228 postParser->parse_mycode
/inc/functions_post.php 830 postParser->parse_message
/showthread.php 916 build_postbit
Warning [2] Undefined property: MyLanguage::$thread_modes - Line: 46 - File: showthread.php(1650) : eval()'d code PHP 8.1.31 (Linux)
File Line Function
/inc/class_error.php 153 errorHandler->error
/showthread.php(1650) : eval()'d code 46 errorHandler->error_callback
/showthread.php 1650 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
copy to CDN - or sync uploads/ to cdn
#3
Quote:I activated caching via .htaccess […]
Good move. I put this up on our issue tracker mid July but I haven’t included a .htaccess with caching in any build yet.

How does yours compare to this performance .htaccess, or are you using the same?

My approach is to keep all static files on a CDN, serve only gzipped css and js and use far future expires to get the best caching. Of course i do versioning, so in my teplates i can reference sitescripts_12.js or sitestyle_08.css

this is my actual .htaccess

- - - -
AddDefaultCharset iso-8859-1
RewriteEngine on

ExpiresActive On
ExpiresDefault A60

<FilesMatch "\.(ico|pdf|flv|jpg|jpeg|png|gif|js|css|swf)$">
Header unset Last-Modified
ExpiresDefault A1209600
Header append Cache-Control "public"
</FilesMatch>

<FilesMatch "\.(html|htm|php)$">
ExpiresDefault A1800
Header append Cache-Control "private, proxy-revalidate"
</FilesMatch>

Header unset ETag
FileETag None

<IfModule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript text/javascript application/xhtml+xml
</IfModule>

# Usually it RewriteBase is just '/', but
# replace it with your subdirectory path
# RewriteBase www.sitename.com

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule /?([A-Za-z0-9-]+)/?$ index.php?id=$1 [QSA,L]
- - - -
Reply


Messages In This Thread
copy to CDN - or sync uploads/ to cdn - by marrco - 2010-08-01, 02:26:00
copy to CDN - or sync uploads/ to cdn - by marrco - 2010-08-07, 20:03:22
copy to CDN - or sync uploads/ to cdn - by marrco - 2010-08-07, 20:38:53



Users browsing this thread: 1 Guest(s)