There is a bug in Grails preventing me from using removeFrom* when the node I'm trying to remove is extending the collection type. Removing the node directly from the association won't update the second level cache.
A hasMany B
Is there any way to manually invalidate or force a reload on an association cache? Invoking refresh() on...
Heya Everyone,
I have a WebView in one of my Activities, and when it loads a webpage, the page gathers some background data from Facebook.
What I'm seeing though, is the page displayed in the application is the same on each time the app is opened and refreshed.
I've tried setting the WebView not to use cache and clear the cache and hi...
I hava an iframe which loads some javascript via javascript. In internet explorer only, this works if and only if IE has a cached copy of the javascript. This means that reloading the page (or otherwise triggering the script to run again, if it's stuck in a function or whatever) will cause this code to work, otherwise it will not. In ...
I have a windows service that receives a large amount of data that needs to be transformed and persisted to a database. To ensure that we do not lose data, I want to create a "Write cache" for the data that will continue regardless if the database is online. Once the database becomes available again, I would want it to flush the content ...
My asp mvc site is not caching content or script files. How do I get it to cache such?
...
when using hibernate 2nd level cache and query cache and not specifying anything inside ehcache.xml .what is the default caching time?
...
Hi,
Could somebody suggest a technique or class library to read up on for XML Caching on the iphone?
The biggest lag in my app is the XML being downloaded from the server. If a user views a screen the xml has to be downloaded and parsed and theres a wait of a few seconds. If they leave the screen and come back to it again they have to ...
So i have a custom CMS running under .Net 3.5 written entirely in c#. The engine is optimized to render for mobile devices, but also server to normal web browsers. It also supports cookieless sessions. Great...
I've chosen not to cache anything (including browser data) in order to control the rendering completely from data. This has bee...
I have a single table in a database called Users
Users
------
ID (PK, Identity)
Username (Unique Index)
I have setup a unique index on the Username table to prevent duplicates. I am then enumerating through a collection and creating a new user in the database for each item.
What I want to do is just insert a new user and ignore the...
In the app I'm writing, I use a lot of in memory containers (C++ std containers but I don't think that's relevant).
During one "task" of my app, in a heavy usage edge-case the private bytes memory usage hits 1GB.
Just as a bit of context, this task is a user initiated task involving 100,000s files. It's likely that the user will kick t...
How long is a HTTP response cached with it has no header specifying expiration?
...
In my web application, I send all the usual response headers to the browser to prevent caching (Cache-Control: no-store, no-cache). Content expiration is also turned on.
However, if I log out of my application in Firefox 3.6 and then navigate to "about:cache", I can see HTML content from inside my application in the memory cache. I've...
Hello,
i have now put the site on:
http://www.ploetzeneder.eu/Dateien/test/index4.html
the manifest is there:
http://www.ploetzeneder.eu/Dateien/test/app-cache-demo.manifest
Why does it not work?
The Webserver where the relevant problem has this url:
http://www.pharao.mobi/WebAppproblem/
Username is the Username
Passwort is the Passw...
In a Django project, some cronjob programs are mainly used for administrative or analysis purposes, e.g. generating site usage stats, rotating user activities log, etc.
We probably do not hope MySQL to cache queries in those programs to save memory usage and improve query cache efficiency.
Is it possible to turn off MySQL query cache...
I have a basic ASP.NET application which is used to request data which is stored on disk. This is loaded from files and sent as the response. I want to be able to store the data loaded from these files in memory to reduce the number of reads from disk.
All of the requests will be asking for the same data, so it makes sense to have a si...
In PHP, I'm trying to steal a page from the Rails playbook (see 'Using Asset Timestamps' here):
By default, Rails appends assets'
timestamps to all asset paths. This
allows you to set a cache-expiration
date for the asset far into the
future, but still be able to instantly
invalidate it by simply updating the
file (and he...
Hello,
when looking on:
http://www.pharao.mobi/WebApp17/
i can call this website on the normal webbrowser and on safari, but on iphone it is black, why?
I have added caching by adding Expires:------ to the header
...
How do I go about allowing my webapp to be installed as an icon on a user's homescreen? Is the data cached locally, so that the webapp can be run when the user is outside of 3G?
I did a quick google, but my search terms were lacking. I noticed that Google Buzz allowed me to install locally, and I'm wondering what the process is for crea...
I wrote a rather small skeleton for my web apps and thought that I would also add a small cache for it.
It is rather simple:
If the current page exists as a file in the cache and the file isn't too old, read it out and exit instead of rebuilding the page
If the current page isn't cached/outdated recalc the page and save it
However, ...
I've been trying to optimize a numeric program of mine, and have run into something of a mystery. I'm looping over code that performs thousands of floating point operations of which 1 call to pow - nevertheless, that call takes 5% of the time... That's not necessarily a critical issue, but it is odd, so I'd like to understand what's ha...