Joined: 18 Mar 2004
Posts: 10
Location: Täby, Sweden
Posted: Fri Jan 05, 2007 12:25 am
I recently installed Squid on my local network to cache HTTP requests. One of the things I was hoping for was that repetitive requests to ANN (I usually go back and forth quite a bit between the same set of pages when browsing the encyclopedia) would be sped up by not having to go to the real server for every request, but I was disappointed to discover that the PHP scripts on ANN don't set any caching attributes, so they cannot be cached.
If at all possible, couldn't you support the Last-Modified or If-Modified-Since headers? After all, it would probably decrease your used bandwidth quite a bit as well, thanks to other third parties caching.
Joined: 02 Jan 2002
Posts: 3793
Location: Montreal
Posted: Fri Jan 05, 2007 4:50 am
1. We need to place different ads on every page, so caching basically works against us. We'd need to switch to a javascript or iframe-based advertising scheme to be able to support caching like you want. Furthermore, each page is customized for the logged in user so caching is of limited use, i.e. we'd only be able to support caching for anonymous visitors.
2. If-Modified-Since is *very* difficult to implement in dynamic pages because it requires to take into account every variable that goes into the creation of the page in order to know when was the last modification. It's *far* easier to just generate the page every time.
3. There is no such thing as "caching attributes". There are only no-caching attributes. Unless the server specifically forbids caching, proxies should be able to cache the results (although I'm not sure what strategy they could use without the Last-Modified header). That being said, I just checked and I was suprised to find that the articles are being displayed with "Cache-Control: no-cache". I'll look into removing that.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
Of all the tropes and genres to repeat themselves over the years in anime, perhaps none have garnered as controversial a reputation yet passionate a following as Cute Girls Doing Cute Things.― Of all the tropes and genres to repeat themselves over the years in anime, perhaps none have garnered as controversial a reputation yet passionate a following as Cute Girls Doing Cute Things (CGDCT). Well, bes...
Clothes are mostly optional as the DAN DA DAN crew fight aliens at school! What happens when they all merge into one super-evil entity?!― The DAN DA DAN Episode Where Everyone's Naked Clothes are mostly optional as the Dan Da Dan crew fight aliens at school! What happens when they all merge into one super-evil entity?! The views and opinions expressed in the After Show belong solely to the show's p...
This is one of those shows that feels like it's better than it has any right to be. It drags out overused plot contrivances but then uses them perfectly as tools to explore the characters on a deeper level.― The Ossan Newbie Adventurer is split into two distinct arcs. The first follows Rick as he attempts to get his F-rank adventurer's license. This arc is all about introducing Rick, the world, and ...
Before the new The Lord of the Rings: The War of the Rohirrim anime film comes out, Steve and Lucas take a trip back to 1978 to talk about the original animated version.― Before the new The Lord of the Rings: The War of the Rohirrim anime film comes out, Steve and Lucas take a trip back to 1978 to talk about the original animated version. Disclaimer: The views and opinions expressed by the particip...
Miyajima lets us go behind the scenes about casting the Canaries, bringing Izutsumi's cat-like qualities to life, and more!― Delicious in Dungeon's first adventure has come to an end However, the second season is already underway, meaning many more future opportunities to meet Laios's party and the rest of the Delicious in Dungeon characters! First of all, we must give thanks to Laios, his companion...
James and Lynzee go face-to-face with Nessie and mantis shrimp alien in this week's DAN DA DAN! Plus, the latest news about the Netflix anime leaks, Miyazaki's surprising award statement, and the Sonic 3 trailer!― DAN DA DAN's Newest Alien is a One-Two Punch! James and Lynzee go face-to-face with Nessie and mantis shrimp alien in this week's Dan Da Dan! Plus, the latest news about the Netflix anime...
Head into the forums to nominate Best Villain, Best Anime OST, Leading Man, Leading Lady, and Most Underrated Anime Series of the Year!― Welcome readers, to the first annual Anime News Network Reader's Choice Awards. As ANN's editorial team gears up for the Best Anime of 2024 later this month, we're opening a selection of unique categories for readers. The first round is the nomination period, takin...
Taizan5 debuted manga in December 2021― A new official website opened on Tuesday to announce that Taizan5's Takopi's Original Sin (Takopii no Genzai) manga is getting an anime. The website unveiled a visual and a video: More information will be announced at the Jump Festa 2025 event on December 22. Viz Media licensed the manga, and it describes the story:
Deceptively cute alien Takopi lands on earth...
Batman Ninja vs. Yakuza League is an insanely fun film. It's got the perfect mix of action and comedy while still providing a story that looks into what makes some of the world's most famous superheroes who they are.― I was filled with more than a bit of trepidation heading into Batman Ninja vs. Yakuza League's world premiere at Tokyo Comic Con 2024. Simply put, I felt that the first Batman Ninja fi...
The War of the Rohirrim film's leads, Wise and Cox, share their personal connections with the franchise, the difference between voice acting and live-action, and their characters' interiority.― Actors Brian Cox and Gaia Wise lead the cast as Helm Hammerhand and Hera in the upcoming The Lord of the Rings: The War of the Rohirrim anime film. The War of the Rohirrim expands on a scant few pages from J....
Despite ostensibly being a manga about a vampire working a night shift, DotNS isn’t the What We Do in the Shadows-esque comedy/slice-of-life series you might expect at first glance—because it’s not really a comedy/slice-of-life series at all.― There's plenty of anime and manga about vampires trying to blend into human society out there, but not as many of them are terribly concerned with how their v...
Jump Festa event on December 22 to hold "graduation ceremony," announce successor― The official X/Twitter account for the One Piece franchise revealed on Sunday that voice actor Kazuki Yao will step down and "graduate" from the role of Franky in the franchise, and will be replaced. The announcement stated this decision was the result of a long discussion process. The stage presentation for One Piece...
I Raised a Black Dragon isn't perfect, something that mostly comes down to an ending that simply screams for a sequel. But it's also a nice twist on some of its genre's staler elements and a good read overall.― Have you ever wondered what happened to the person who used to be the owner of a body taken over by an isekai'd soul? Not many books seem to care, but Sottan's I Raised a Black Dragon isn't o...