Posts: 98
Threads: 5
Joined: Jan 2012
i have slow speed to forum
Quote:Ответ от 50.22.104.139: число байт=32 время=173мс TTL=45
Ответ от 50.22.104.139: число байт=32 время=173мс TTL=45
Ответ от 50.22.104.139: число байт=32 время=172мс TTL=45
Ответ от 50.22.104.139: число байт=32 время=172мс TTL=45
Ответ от 50.22.104.139: число байт=32 время=172мс TTL=45
Ответ от 50.22.104.139: число байт=32 время=173мс TTL=45
Ответ от 50.22.104.139: число байт=32 время=173мс TTL=45
Ответ от 50.22.104.139: число байт=32 время=173мс TTL=45
Статистика Ping для 50.22.104.139:
Пакетов: отправлено = 8, получено = 8, потеряно = 0 (0% потерь,
Приблизительное время приема-передачи в мс:
min = 172мсек, max = 173 мсек, aver = 172 мсек
Posts: 339
Threads: 44
Joined: Jan 2011
Posts: 93
Threads: 1
Joined: Oct 2011
haha love it. I'd seen the regular one and my wife showed me the teacher one.
Posts: 2,059
Threads: 158
Joined: Jan 2011
Rob Wrote:No issues here. One thing I did notice though is that you are only gzipping the php files. You should gzip all text (php,html,js,css).
Also, not a major thing, but you are only using ETags vs also using a Cache-Control/Expires header for static files. You should typically use both. When just using an ETag the browser still sends a request to the server for every static file, the server just sends back a 304 Not Modified if the ETags match, then the browser uses the file from cache. If you set a future Cache-Control/Expires header the browser will use the cache until expiration. Then the server can still send a 304 and set a new Expires header, and the browser will use the cache again.
Just by doing that you could eliminate 29 requests from the http://in-uo.net/forums page.
Now using mod_deflate and mod_expires to add expires headers and zip all content. For some reason css and javascript aren't compressing and after an hour of trying to find out why, I'm giving up for now.
I'm seeing marked improvements though, and I'm working on implementing a CDN.
Quote:###################Expires Headers##########
FileETag None
ExpiresActive On
ExpiresDefault A600
ExpiresByType image/x-icon A2592000
ExpiresByType application/x-javascript A604800
ExpiresByType text/css A604800
ExpiresByType image/gif A2592000
ExpiresByType image/png A2592000
ExpiresByType image/jpeg A2592000
xpiresByType image/x-icon A2592000
ExpiresByType text/plain A86400
ExpiresByType application/x-shockwave-flash A2592000
ExpiresByType video/x-flv A2592000
ExpiresByType application/pdf A2592000
ExpiresByType text/html A600
###################Expires Headers##########
#Gzip
AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript
#End Gzip
Lemme know if you see anything else that needs changing. I see a few things to edit, but they're nit-picky and I'll have to get to them later. (Like the vote sites loading external images that aren't cached.)
Posts: 2,059
Threads: 158
Joined: Jan 2011
Removed:
Re-Added:
ExpiresDefault A600
Since that causes the forums to not update as read.
Added to /forums .htaccess
ExpiresDefault access
(This post was last modified: 02-18-2012, 07:10 PM by
Eru.)
Posts: 93
Threads: 1
Joined: Oct 2011
Eru Wrote:Removed:
Re-Added:
ExpiresDefault A600
Since that causes the forums to not update as read.
Added to /forums .htaccess
ExpiresDefault access
It's text/javascript instead of application/x-javascript. That is probably why js isn't getting cached.
Good job. Pages seem to be pretty instant for me now.
Posts: 2,059
Threads: 158
Joined: Jan 2011
Added text/javascript also with no changes. :/ I also tried setting the MIME types manually for css and javascript in the .htaccess file with no change. Cleared local cache and website cache as well. I'm lost.
Posts: 13
Threads: 2
Joined: Feb 2012
In Canada and works fine for me.
Posts: 182
Threads: 19
Joined: Feb 2012
I'm in Canada too, fast as hell.
Posts: 440
Threads: 88
Joined: Apr 2011
The forums were slow for a bit but could have been on my end. The website seems fine.
Posts: 813
Threads: 33
Joined: Feb 2012
Eru Wrote:Added text/javascript also with no changes. :/ I also tried setting the MIME types manually for css and javascript in the .htaccess file with no change. Cleared local cache and website cache as well. I'm lost.
Grats on your 1337 post count ^_^
Posts: 2,059
Threads: 158
Joined: Jan 2011
Thanks, Going to spoil it.
[s]Removed
ExpiresByType text/html A600[s]
Silly thing was caching the HTML for having a thread/forum marked as read/unread. Everyone clear your cache if something looks like it's not updating, or press Ctrl+F5.
-edit-
Disregard, I just set text to non expiring in the forums.
Quote:ExpiresDefault access
ExpiresByType text/plain access
ExpiresByType text/html access
(This post was last modified: 02-19-2012, 04:40 AM by
Eru.)