Alden Bates (abates) wrote,
Alden Bates
abates

Bandwidth theft protection script revisited

I think it is resending the images every time they are requested... I think what I need to do is see if the user has sent an "If-Modified-Since" header and return a 304 to say "no, it hasn't changed, use the cached copy".

Which will be fun to work out how to do.
Subscribe

  • Post a new comment

    Error

    Comments allowed for friends only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments