fragment-caching Questions

4

It seems to me that fragment caching and eager loading are -- at least sometimes -- somewhat at odds with each other. Let's say I have a User who has many posts which each has many comments which i...
Fighterbomber asked 20/4, 2014 at 8:28

0

I have a template that displays a list of events <tbody> <%= render partial: 'event', collection: events, cached: true %> </tbody> The partial event: <% cache event do %&gt...
Amandaamandi asked 3/10, 2017 at 20:52

2

After studying DHH's and other blog articles about key-based cache expiration and Russian Doll Caching, I am still unsure how to handle one relation type. To be specific, a has_many relationship. ...
Indifferentism asked 12/4, 2013 at 20:13

2

I have a site with a large amount of data and I'm doing "Russian doll" caching on all pages like this: # articles.html.haml - cache "list of articles", expires_in: 15.minutes do = render partial:...

2

Solved

The question is based on 2 articles: - Basecamp Next by DHH from 37signals - Advanced Caching in Rails by Adam Hawkins I'm a little bit confused about the performance implications of using Russian...
Earleneearley asked 12/10, 2012 at 17:7

5

Solved

How could I cache an entire page except a bit at the top which says something along the lines of "Welcome back, Matt! | Log Out" if the user is logged in and so-on? I'm using ASP.NET MVC 2.

3

Solved

here is a link to how my APC is running : [removed] As you can see, it fills up pretty quickly and my Cache Full Count goes over 1000 sometimes My website uses Wordpress. I notice that every tim...
Affenpinscher asked 25/8, 2010 at 20:56
1

© 2022 - 2024 — McMap. All rights reserved.