Archive for the 'Greg’s Comments on the Internet' Category

How to Speed up Your Django Sites

posted on April 29th, 2009 by Greg Allard in Greg's Comments on the Internet

I just installed django-memcache-status to see the usage of memcache in the django admin interface. It looks pretty good and it’s easy to install. Just download it and add it to installed apps. http://github.com/bartTC/django-memcache-status/

Read more comments by Greg Allard

How to Speed up Your Django Sites

posted on April 29th, 2009 by Greg Allard in Greg's Comments on the Internet

Yeah amazon’s content distribution network is awesome and not a bad price. I’d like to hook that up sometime soon. I didn’t know that subdomains would help with the browser limit. That’s a good idea.

Read more comments by Greg Allard

Python Google Analytics Client: How to use it and how to help make it better

posted on April 27th, 2009 by Greg Allard in Greg's Comments on the Internet

I gave it another shot and it still wasn’t working. I sent a message to the google group and got a response from someone at google. It is a feature that needs to be implemented and it sounds like they will prioritize it since a few people were requesting it. http://groups.google.com/group/google-analytics…

Read more comments by Greg Allard

Python Google Analytics Client: How to use it and how to help make it better

posted on April 25th, 2009 by Greg Allard in Greg's Comments on the Internet

This is awesome. It was pretty easy to get going. It seems like google analytics is unable to produce one type of result that I want though. For a single page on my site I want to know the keywords that got people there or the referrers. I can browse to it on the web interface, but I keep getting bad request errors when I try a way to get that info from them.

I’ve tried adding pagePath and keyword as dimensions and I’ve tried using a filter on pagePath while only having keyword as a dimension. Neither of those would work. Do you have any other ideas I could try?

Read more comments by Greg Allard

How to Speed up Your Django Sites

posted on April 25th, 2009 by Greg Allard in Greg's Comments on the Internet

Thanks. I’ve never been to tutlist before. Sounds like a good idea.

Read more comments by Greg Allard

NGINX + PHP-FPM + APC = Awesome

posted on April 25th, 2009 by pyroman in Greg's Comments on the Internet

Interesting. I’ll have to look into that. Thanks.

Read more comments by Greg Allard

How to Write Reusable Apps for Pinax and Django

posted on April 24th, 2009 by Greg Allard in Greg's Comments on the Internet

Ah good question. I left that in from some old code I guess. It was probably from before I made the model work by being applied to any other object. I removed it from the code. Thanks.

Read more comments by Greg Allard

Ask HN: Review a simple URL un-shortening service.

posted on April 24th, 2009 by pyroman in Greg's Comments on the Internet

Are you saving the urls after someone requests one to be lengthened? It could act as a backup if one of the shorteners went down. Maybe one of the firefox extension developers that expand urls could use your saved urls in that case.

Read more comments by Greg Allard

How to Speed up Your Django Sites

posted on April 24th, 2009 by Greg Allard in Greg's Comments on the Internet

I haven’t gotten into caching and increasing performance of my application code itself; I was starting with the server. Thanks for the suggestion. When I do get around to speeding up slow parts of my code, I’ll keep Beaker in mind.

Read more comments by Greg Allard

How to Speed up Your Django Sites

posted on April 23rd, 2009 by Greg Allard in Greg's Comments on the Internet

There are two more django apps that could help reduce http requests. I didn’t find these until after posting this. http://code.google.com/p/django-sprites/ and http://github.com/rnk/django-media-bundler/tree… will help create image sprites so that your css background images are all one file request. CSS sprites are explained in more detail here http://alistapart.com/articles/sprites

Read more comments by Greg Allard