TheJach.com

Jach's personal blog

(Largely containing a mind-dump to myselves: past, present, and future)
Current favorite quote: "Supposedly smart people are weirdly ignorant of Bayes' Rule." William B Vogt, 2010

Incredibly Stupid Caching System

Finished up a dumb cache strategy which is why you may have been experiencing problems with this site. Basically I'm caching all GET requests into files and a single POST that results in data modification (like me posting a new post) invalidates all the caches by removing all the files. I know I know it's stupid. Also there's a weird error right now where all the output is being prefaced by a newline that I haven't tracked down which led to some some interesting javascript errors. Anyway, things should be fixed now.


Posted on 2012-02-04 by Jach

Tags: fodder, programming

Permalink: https://www.thejach.com/view/id/232

Trackback URL: https://www.thejach.com/view/2012/2/incredibly_stupid_caching_system

Back to the top

Back to the first comment

Comment using the form below

(Only if you want to be notified of further responses, never displayed.)

Your Comment:

LaTeX allowed in comments, use $$\$\$...\$\$$$ to wrap inline and $$[math]...[/math]$$ to wrap blocks.