Jimmy (scenejournal) wrote in lj_dev,
Jimmy
scenejournal
lj_dev

allpics.bml Pagination

Hi all,

I am interested in paginating my allpics.bml file. Mostly cause loading 100+ userpics can really slow my servers down. It's not horrendous yet, but I think I should attack the issue before it really becomes an issue. I was thinking pagination would be one way to combat the issue. Although I don't have very much Perl or Javascript experience. I do understand how it should work, maybe someone can toss me a couple ideas of how to approach it.

Pretty much I think you need to use some Javascript, and I am sure there's some loop in Perl that might have to be changed so it only calls 10 or 15 userpics at a time.

OR...

Is it possible to host userpics on another server? Something like Amazon S3 or another web server/MySQL on a faster pipe?

Thank you much!
Tags: server, server: code
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 10 comments