Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^3: perlmonksflair.com : get your perlmonks flair!

by AppleFritter (Vicar)
on Apr 29, 2014 at 09:26 UTC ( [id://1084278]=note: print w/replies, xml ) Need Help??


in reply to Re^2: perlmonksflair.com : get your perlmonks flair!
in thread perlmonksflair.com : get your perlmonks flair!

A feature to allow users to refresh the cache for just their flair. This is slightly more do-able

That would be quite useful, especially for the newly-initiated who move through the levels faster than established monks. Something like http://www.perlmonksflair.com/<username>.jpg?purge to force an update, perhaps?

You may want to keep an eye on how much that's used so that people don't put too much load on the server by constantly purging their badge, of course. Alternatively, you could do some sort of rate limiting for purging as well -- say, once per day, or (if you want to allow a little more flexibility) three times per day and seven times per week.

Thanks to both you and your friend for creating this, BTW!

  • Comment on Re^3: perlmonksflair.com : get your perlmonks flair!

Replies are listed 'Best First'.
Re^4: perlmonksflair.com : get your perlmonks flair!
by gideondsouza (Pilgrim) on May 10, 2014 at 10:23 UTC

    Hi AppleFritter,

    Sorry about the late reply. I've been a little off grid lately with work.

    I'll be writing another Perl web project pretty soon :)

    The problem with this purge thing is I use Varnish so to support something like a url?purge will involve writing a varnish plugin! Alternatively varnish does support sending a request with the verb as "PURGE" but I may have not enabled this.

    I gave up looking for a simple way to do this, but I'll give the whole thing another looksee soon.

    Thank you very much for your appreciation :)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1084278]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (4)
As of 2024-04-25 22:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found