-
as seen on Stack Overflow
- Search for 'Stack Overflow'
When I have 2 views that fragment cache the same query BUT display them differently, there is only one fragment and they both display it the same way. Is there any way around this? For example...
#views/posts/list
- cache(@posts) do
- for p in @posts
= p.title
#views/posts/list_with_images
…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
Does jsf 2.0 + facelets supports page fragment caching, something similar to aps page framgent caching
(example this tutorial http://quickstarts.asp.net/QuickStartv20/aspnet/doc/caching/fragment.aspx)
Regards
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I'm just starting to get into Rails caching and am wondering how to test whether or not caching is working in my development environment.
I have set these two config variables for both the development (temporarily) and production environments:
config.action_controller.perform_caching = true
config…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I would like to fragment cache part of a page.
On the view I have
<% cache("saved_area") do %>
.
<% end -%>
In the controller:
def index
read_fragment("saved_area")
end
In config/production:
config.cache_store = :file_store, File.join(RAILS_ROOT, 'tmp', 'cache')…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi ,
Suppose I have a page abc.aspx in it I have a user control ucx123.ascx. I am fragment caching the user control and the cache is vary by param. The parameter is some id in the querystring.
I want to add a sql cache dependency with respect to sql query.
The scenario is I added the dependency…
>>> More