similar to: caching incorrect

Displaying 20 results from an estimated 100000 matches similar to: "caching incorrect"

2006 Jun 09
0
Re: Rails Digest, Vol 21, Issue 195
Unsubscribe Sent from my BlackBerry? wireless handheld -----Original Message----- From: rails-request@lists.rubyonrails.org Date: Fri, 9 Jun 2006 18:24:09 To:rails@lists.rubyonrails.org Subject: Rails Digest, Vol 21, Issue 195 Send Rails mailing list submissions to rails@lists.rubyonrails.org To subscribe or unsubscribe via the World Wide Web, visit
2006 Feb 07
1
Page caching when name contains a dot (period)
Hi Everyone, Just thought I''d post some details of an interesting little quirk I''ve found with page caching. For a site I''ve just built for a small music festival, there are a number of artist profiles. I''m storing the artists in my database, but using caches_page to speed things up when displaying the details to the public. I''ve also made it so
2009 Jun 11
1
fragment caching file_store problems
Hello, I''m having problems on both my production and development servers with fragment caching. Every time I try to cache something using <% cache do %>, I get the following error: Couldn''t create cache directory: views/0.0.0.0:3000/jobs/106/questions/ 174 (wrong number of arguments (2 for 1)) but strangely, all of the directories apart from the last one are created.
2006 Mar 29
0
routes and caching
Hi there, I have the following route in my routes file: # - all film sub-pages (defaulting to index.html) map.connect ''films/:film_title/:page'', :controller => ''films'', :action => ''show'', :page => ''index.html'' which will pick up URLs like this:
2006 Mar 22
5
Class Caching Problem [was Newbie Question about Custom Classes]
So any other ideas as to why my custom class under app/models is being cached even though all the caching is set to false in the config/environments/* files? Currently I''m having to restart WEBrick after EVERY change to the file. The controllers and views are reloading just fine and not being cached. It''s just the custom class I created that''s being cached. Any ideas
2006 Jun 14
2
Can pagination work with caching
I am currently caching a page that indexes blog entries. Paginate was used to break the entries up. Now when you click on next at the bottom of the page it is only reloading the first page. Im hoping, against odds, that someone here knows of a way to make paginate and cache play together. -- Posted via http://www.ruby-forum.com/.
2009 Dec 16
5
Caching comments: timestamps and subdomains
Hi, I''m working on a website that has a very slow loading frontpage. I wanted to start by caching certain elements that have high load. For example, it loads the last 50 comments, along with the corresponding usernames, avatars and more. So I cached that fragment and created a sweeper that observes Comment and expires after every create or destroy action. However, I have two problems:
2005 May 08
3
sqlite, views, incorrect data types?
This has been driving me crazy for a few days now. I am using sqlite3 however I have also found this to be the case with 2.8.15: I have data types text or integer on every column of every table in the database. Now i know sqlite doesnt care much about data types, but I believe rails does (correct me if im wrong). On pages that query a table, everything is perfect. BUT when I use a view
2006 Aug 25
1
Time based fragment caching plugin
I''ve written a plugin to allow for time based fragment caching. It lets you do things like: <% cache ''fragment_name'', 10.minutes.from_now do %> <p>something intensive which will be cached for 10 minutes</p> <% end %> Also, there''s a convenience method so that in your controllers you can do: when_fragment_expired
2006 Mar 22
0
page caching
I''m trying to use the following methods (extract): expire_page :controller => "site", :action => "funding" cache_page :controller => "site", :action => "welcome" to rebuild my entire site cache from an admin page, but I can''t seem to get the cache_page function to work. looking at the docs there seem to be 2 versions of
2016 Mar 06
2
Incorrect battery.runtime.low being reported?
Hi folks, I have a curious issue I'm trying to understand. I'll give my problem description first, then suggested metadata below. My setup is as shown in http://networkupstools.org/docs/user-manual.chunked/images/advanced.png, where my UPS is connected to my NAS via USB, and other computers as well as the NAS are powered by the UPS. As a test, I configured the NAS to enter safe mode,
2005 Dec 25
2
Caching of models?
Hello, people! I have a problem. I googled, asked for help on IRC. I can''t find an answer. Suppose I have model Cart (from "Agile Web Development with Rails"). I added call to logger.warn("Some warning") to one of it''s methods. It fails with NameError, because ''logger'' is unknown to model. undefined local variable or method
2008 Nov 13
1
Fragment caching strangely honors the options I pass to it
Hi, In my view I have the following cache: <%- cache(:controller => ''products'', :action => ''index'', :action_suffix => ''footer'') do -%> ... <%- end -%> And that''s the file generated: tmp/cache/views/www.mysite.com/products.action_suffix=footer.cache Why isn''t fragment caching picking up the :index
2007 Feb 03
1
How can I bypass caching for some users
I have action caching setup for several actions of an application but I want the caching to only run for my administrators and have all other users see non-cached pages. Is there a way to do this? Perhaps something like passing a block to caches_action or setting some sort of flag in my authentication method? If this is not possible with action or fragment caching does anyone know of a
2004 Jun 30
0
1.0-test23 and caching decisions
http://dovecot.org/test/ mbox fixes mostly. Began some other things, but none of them actually work yet: - Use X-UIDL header in mboxes for POP3 UIDL list - Cache file compression - Some cleverness for cache file for figuring out what to cache Well, I might as well explain the last one now. Users can be divided to three groups: 1. Most users will use only a single IMAP client which caches
2014 May 23
0
[RFC] drm/nouveau: disable caching for VRAM BOs on ARM
Am Freitag, den 23.05.2014, 18:43 +0900 schrieb Alexandre Courbot: > On 05/23/2014 06:24 PM, Lucas Stach wrote: > > Am Freitag, den 23.05.2014, 16:10 +0900 schrieb Alexandre Courbot: > >> On Mon, May 19, 2014 at 7:16 PM, Lucas Stach <l.stach at pengutronix.de> wrote: > >>> Am Montag, den 19.05.2014, 19:06 +0900 schrieb Alexandre Courbot: > >>>> On
2014 May 27
0
[RFC] drm/nouveau: disable caching for VRAM BOs on ARM
On Tue, May 27, 2014 at 10:07 AM, St?phane Marchesin <stephane.marchesin at gmail.com> wrote: > On Mon, May 26, 2014 at 5:02 PM, Alexandre Courbot <gnurou at gmail.com> wrote: >> On Mon, May 26, 2014 at 6:21 PM, Lucas Stach <l.stach at pengutronix.de> wrote: >>> Am Montag, den 26.05.2014, 09:45 +0300 schrieb Terje Bergstr?m: >>>> On 23.05.2014 17:40,
2006 Jul 05
0
Dynamic image resizing and caching
I''m working on an image system that does rescaling and effects on demand, rather than on upload. The uploads are stored as master files, and resized images are generated, cached and returned by a controller, using a request similar to this: /images/21/150x100/filename.jpg (where 21 is the image id) I also have various filters implemented, adding the concept of filter sets (which is
2007 Dec 20
1
dovecot-auth: returning incorrect maildir for user (user seeing another user's mail)
timo, here is an bizarre bug for you: i had (foolishly, it turns out) configured dovecot-auth to do ldap authentication binding with a prefect userdb (configs at end of message). everything worked fine, although with huge numbers of pop logins per second we started to see some pileup in the pop3-login processes as they were all waiting for ldap responses on the single ldap connection. the
2014 May 27
0
[RFC] drm/nouveau: disable caching for VRAM BOs on ARM
On Mon, May 26, 2014 at 6:21 PM, Lucas Stach <l.stach at pengutronix.de> wrote: > Am Montag, den 26.05.2014, 09:45 +0300 schrieb Terje Bergstr?m: >> On 23.05.2014 17:40, Alex Courbot wrote: >> > On 05/23/2014 06:59 PM, Lucas Stach wrote: >> > So after checking with more knowledgeable people, it turns out this is >> > the expected behavior on ARM and BAR