I'm looking for a way to configure caching only for anonymous users only. The reason I'm looking to do this is when users are logged in and they create content they don't immediately see the content. In our old system (linux/php/mysql) we had it configured to cache only the anonymous users and this wasn't an issue.
Right now we have cac...
Hi all,
I am trying the figure out why the images (or js, or css) in the _layouts directory are not cached by either IE or FF.
The authentication on the site collection is NTLM. The _layouts folder has anonymous access enabled in IIS.
If I debug with fiddler a page that has been loaded before, I can see the following requests:
GET /...
I'm looking into caching with ASP.NET MVC and I am also in middle of finalizing web-host.
I've two questions...
1) Does caching pose issue when done on shared hosting environment since resources are shared and all? This question may sound silly, but I just do not know how caching works behind the scene.
2) Before I implement cachin...
After reading this thread: http://stackoverflow.com/questions/118884/what-is-an-elegant-way-to-force-browsers-to-reload-cached-css-js-files
I would like to know if there is any built-in function or easy way in Symfony that automatically forces a reload by appending a random querystring or timestamp to the link when it has discovered th...
You said you put these lines, but where and how do I put this in my html?
I used those below, but they didn't work in all browsers
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="0">
<meta http-equiv="Content-Type" content...
In PHP, when I use the file handler for session storing,does Apache caches the SESSION in memory?
If not, would a usage of db storage engine on memory tables (mysql) would be a good idea?
...
Hi,
Would anyone please try to explain to me why
public void addView(View child) {
child.setDrawingCacheEnabled(true);
child.setWillNotCacheDrawing(false);
child.setWillNotDraw(false);
child.buildDrawingCache();
if(child.getDrawingCache() == null) { //TODO Make this work!
Log.w("View", "View child's drawing cache is null"...
My Java web application (tomcat) gets all of its data from an SQL database. However, large parts of this database are only updated once a day via a batchjob. Since queries on these tables tend do be rather slow, I want to cache the results.
Before rolling my own solution, I wanted to check out existing cache solutions for java. Obvious...
Hi Guys/Lady's , wondering can any one help me with the following problem/question.
Am trying to cache Iqueryable converted tolist<> & get data back out of the cache. However, can't work out why it is not working.
public class QDatalist
{
public int q_id { get; set; }
public string title { get; set; }
public int? marks { ge...
I have an application
that loads images from the net and stores it on the app's documents directory
so when the users starts up the application and doesn't have internet they still can use the application.
but my question is .. does the iphone controls that document directory ? does it clears itself after a certain period or after a c...
Should i consider using ASP.NET Caching to cache query results on top of NHibernate 2nd Level Caching to improve performances ?
...
Is there any way that I can list the pages which are currently stored in the OutputCache?
Just a list of paths would do, but if there's a way to get more information about each item (expiry etc), then all the better.
...
hey , I want to cache google maps, and put them into the memory, using sqlite DB,so that I don't have to always use the internet connection! is that possible? and if it is possible I would like to know how?
thanks
...
I'm pretty sure I can page cache the vast majority of my site but the one thing preventing me from doing so is that my flash messages will not show, or they'll show at the wrong time.
One thing I'm considering is writing the flash message to a cookie, reading it and displaying it via javascript and clearing the cookie once the message h...
I've got a Drupal 6.x install, and there is one block generated by the Station module which displays the name of the show currently playing. Is there a way to make just that block exempt from caching? Alternatively, can I insert a 'refresh' for only that block at 00:59:00 ?
I'm not a php guy, but have found the place in the module wher...
I'm working with a custom webserver on an embedded system and having some problems correctly setting my HTTP Headers for caching.
Our webserver is generating all dynamic content as XML and we're using semi-static XSL files to display it with some dynamic JSON requests thrown in for good measure along with semi-static images. I say "semi...
I want a collection in Java which:
maps arbitrary Objects to Objects (not String or otherwise restricted keys only)
will be used as a cache; if the key is not in the cache, a value will be computed (this doesn't have to be built into the collection)
will be accessed from multiple threads simultaneously
will never have items removed fro...
I have a file caching system for a php application. if a file needs cached i save it to a cache dir as flat html mimicking the directory structure of the request_uri
how could i check with htaccess if there is a flat file in this cache dir before continuing as normal? currently i check with php, but ideally if there is a cached file, i ...
I am working on a project in cakephp where one app will support multiple sites using different domains. This is an issue when using view caching where it only matches to the end part of the url and ignores the host.
Is there a way to prefix view caching with the host so that there isn't any conflict across different sites?
...
Suppose I have a mapped class Article. It has a relation category that does a query each time I access it (article.category would issue a query to get the category or article).
How do I proxy the article.category call so that the result is queried from the database, then remembered and then returned?
Thanks, Boda Cydo.
...