5 users online. Create an account or sign in to join them.Users

Search

301 Latency

(Above: Network report in Google Chrome)

This may be just my goof, but I thought I'd throw this out there to see if anyone else has run into this and/or if anyone has an idea on how to improve performance.

What I'm running:

  • OS: Mac 10.7.2 Lion
  • Server: Litespeed 4.1.7
  • PHP: 5.3.8
  • Symphony 2.2.3

Note: Our CDN is going to consolidate javascript and css files when the site is on the live server (OS Ubuntu).

What would cause the 301 at the start?

It appears that you're navigating to http://dev.pcpc.local/dashboard while you should be using http://dev.pcpc.local/dashboard/.

The reason behind this is that dashboard and dashboard/ are two fundamentally different paths, the first one is a file the second one a directory. Early Internet Explorer versions have been know for ignoring that fact and stripping the trailing slash from links, essentially navigating to a completely wrong URL.

However most server software knows how to cope with it: If the requested file doesn't exist they assume you meant the directory instead and forward you to it using 301. Lines 31-34 in your .htaccess are responsible for doing that.

Phoque,

Thank for your feedback! Sounds like I need to be more conscientious in my linking.

I also found that in upgrading from Mac OS 10.6 to 10.7.2 that my .local suffix was causing problems. When I changed it to .dev the speed dropped from 17 sec to 1.5 secs.

better speed

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details