Hello, I have a website that I built after editing it requires the user to clear browser cache to see the updated website. My question is does it requires everyone who have open the website for the first to clear browser cache to see the updated? What if the first time opening the website was a long time ago?

Member Avatar
Member Avatar
+0 forum 1

Hello, i want to cache embedded urls -YouTube, Vimeo- photos and videos so that i could reduce bandwidth usage and server load for my website. How can i help my website to do that? I know that browsers cache information `https://en.wikipedia.org/wiki/Web_cache`. Is there something i can to do to make it perform better - i mean by cache?

Member Avatar
Member Avatar
+0 forum 1

Cache in local storage of browsers gets cleared when website page redirects from AliPay payment website. This is happening in some computers and working fine in some. From my website user selects AliPay payment method then user is redirected to payment website and on successful payment is being redirected back to our website. In most cases it dont clear cache and works normal but in some cases it clears cache. Why is this happening. Any help would be appreciated. Update: After some investigating i thought Rapport is making trouble but it is not. This problem is only on chrome but …

Member Avatar
Member Avatar
+0 forum 1

I've noticed the last couple of weeks that a hard-refresh won't clear the cache anymore in Chrome... well to me and two clients of mine (we're all on a Mac by the way). Not sure either if there was an update to Chrome recently which might cause this now. Did anyone else noticed this as well? I work with my developer tools always open, so my cache is disabled by default, but asking my clients to open developer tools before refreshig the page, I'd rather avoid :)

Member Avatar
Member Avatar
+0 forum 12

Hi All, I'm trying to set up an application cache for offline viewing. I'm using a custom built mvc framework. I'm having trouble getting anything to work regarding the application cache. It's as though the .appcache file isn't even being picked up. My set up is as follows: referencing the .appcache file using a partly dynamically created absolute url. <html manifest="http://localhost/mysite/site/appcache" > The url base is the dynamic part filled in using php. This then runs via a bootstrap index page to the site controller accessing the appcache action which loads as a view the mysite.appcache file. I have altered …

Member Avatar
+0 forum 0

Hi All We are having an issue where a WSDL is loading another WSDL into it when we call it. This call takes a while on the first call which normally causes failures across the application during testing. One option we are looking into is pre-caching the WSDL in IIS prior to the server becoming available in the load balancer. Does anybody have any knowledge around how WSDL caching behaves in IIS? Couple of questions I am trying to figure out: 1) How long does a WSDL stay cached for once it is first called 2) Does IIS cache the …

Member Avatar
+1 forum 0

This tutorial is the first time I write about coding techniques for improving the performance of software. This is going to be a step-by-step journey through a real example, with real benchmark results at every step so that you can see the effect of the different optimization techniques. And as my first tutorial on performance optimization, I have to talk about the most important principle in performance optimization: keeping things hot. If you expect this tutorial to be about showing bits of code and the assembly listings generated by the compiler and then, showing how to reduce the number of …

Member Avatar
Member Avatar
+7 forum 3

Hello, so I'm completely re-designing and updating files on the website, but the problem is, that everytime I change e.g. index.html file the website stays the same. I think that it has something to do with the browser's cache. It happens more often on Firefox, but I just hit ctrl+f5 and I'm refreshed, but I don't want to tell visitors "So yeah, just hit ctrl f5 everytime and you're good". Is there a simple way to refresh or update the site instead of renaming all files or changing domain etc. I'm really desperate at this point, I still have tons …

Member Avatar
Member Avatar
+0 forum 2

Hi All, I am working with a Magento (v1.8.1) site, which until a week or so ago, was working perfectly. I am using the SM_AMAZ theme, and have no plugins which could interfeare with performance. Everything will be fine, then something in the admin panel will get changed, and the entire site will go down. By 'go down', I mean Magento serves no HTML output whatsoever. Just a blank file. I have pestered the hosting firm to provide me with a stable backup, and within an hour the site was facing the same problem. So I compared cool with broken …

Member Avatar
Member Avatar
+0 forum 3

Dear experts I am running one mysql query which contains selection from multiple tables.The problem is sometimes the query runs very slow, but sometimes it is ok.Acctually when i run it first time it is very very slow, and from the next time it becomes fast.I wonder if it is something related to cache. Please suggest what can i do so it runs fast from the beginning.

Member Avatar
Member Avatar
+0 forum 2

<?php include 'ProcessDAO.php'; $dest=""; if(isset($_POST['login'])){ session_start(); // i get an error in this line !! $_SESSION['status']='online'; $_SESSION['breadcrumb']='home'; $pro = new ProcessDAO(); $dest = $pro->LogIn($_POST['username'],$_POST['password']); }else{ session_start(); $dest ="Location: ../index.php"; session_destroy(); } header($dest); ?> guyss can you help me out because in my Login.PHP file when i login i always get this error . >** Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at C:\xampp\htdocs\IPMS\process\ProcessDAO.php:1) in C:\xampp\htdocs\IPMS\process\login.php on line 5**

Member Avatar
Member Avatar
+0 forum 6

I am working on a project where I am trying to track email opens by inserting an image in it and detecting when it is loaded from the server. The loading is performed using a php script. I am trying to load 2 different images. Lets call them image1 and image2. I changed the image that I was loading (from image1 to image2) and then sent the emails again, but the image1 was displayed. This happened for the next 5-6 emails when image2 wasn't displayed. I tried running the script through the browser before I sent any emails and it …

Member Avatar
Member Avatar
+0 forum 3

Hi, I have a java class that is being used by multiple people (from a UI). In the class i have a static HashMap with the userKey as the map key and an arraylist with data pertaining to the user as the value. I am using this kind of like a cache. Because populating the list everytime the user logs in is a very expensive procedure. Whenever a user logs in and modifies the data i am updating the list for that user in the map. Now the issue is that I donot want to keep the entries in the …

Member Avatar
Member Avatar
+0 forum 4

Hye, I have started to read and implement Cache Oblivious Btree on RAM. Starting with the Weight Balanced BTree by Arge and Vitter. The Deletion algorithm explained says that after deletion of a leaf an ancestor will get unbalanced so to merge the ancestor with neighbor and split if the weight goes above the max range. "Deletions. Deletions are similar to insertions. As before,we search down the tree to find which leaf w to delete. After deleting w, some ancestors of w may become unbalanced.That is, some ancestor node u at height h may have weight lower than (1/2)d^(h-1). As …

Member Avatar
Member Avatar
+0 forum 4

def mu_cache(func,maxsize=128): "Most Used Cache decorator" cname = "__"+func.__name__+"_Cache" rname = "__"+func.__name__+"_Rankings" exec("global "+cname) exec(cname+" = {}") #here exec("global "+rname) exec(rname+" = {}") def wrap(*args,**kwargs): cache = eval(cname) rankings = eval(rname) try: res = cache[(args,kwargs)] except: res = func(*args,**kwargs) cache[(args,kwargs)] = res else: try: res = rname[(args,kwargs)] except: res=0 rname[(args,kwargs)] = res+1 def delete_smallest(): global rankings smallest=None todelete=None for args in rankings: r = rankings[args] if (smallest == None) or r<=smallest: smallest=r todelete=args del cache[todelete] while len(cache)> maxsize: delete_smallest() return wrap SyntaxError: unqualified exec is not allowed in function 'mu_cache' it contains a nested function with free variables (<pyshell#10>, line …

Member Avatar
Member Avatar
+0 forum 4

I'm building a website that requires some image preloading, which is handled smoothly with an overlaid splash screen and a progress bar and a spinner. The thing is, I want the preloader to know if preloading is necessary (the cache has been wiped, or is disabled in the browser), so that it preloads the images whenever needed. My first approach was using cookies, so that the preloader would be shown only the first time, but refreshing without cache after loading the page rendered my first attempt futile. Then I thought about session variables, but I need to be able to …

Member Avatar
Member Avatar
+0 forum 3

Hi mates, I am looking for a way to cache a PHP page that it's different for each session user. For example if the paginating is used and if I have 10 pages each page contains 25 entries extracted from database, also these entries are editable when clicking on button on the page, how can I add these pages to cache? What's the best concept? I know the Jstorage ([url]www.jstorage.info[/url]) but I am not sure if it works in this case? I tried the caching in PHP but the problem it works on server side when creating html cache file …

Member Avatar
Member Avatar
+0 forum 1

In order to make my AJAX functionality a little more efficient I've added a cache component; but this has given me a huge new headache. The AJAX related code is below. It listens for a click and checks if the user has already clicked that link. If not, it'll fetch the request and render the resulting bit I want nicely. If the user *has* already clicked the link it'll find the reference, bypass the AJAX part, and just display the data. var cache = {}; // Data cache var $placehold = $('#placeholder'); // Target div for all data // The …

Member Avatar
Member Avatar
+0 forum 2

I have seen this in a few posts, but i still cant seem to find the problem. Im basically trying to log in to a chat page and don't know what I'm doing wrong. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <?php //Start a session session_start(); //Setup and use a tracking variable to count login attempts if(isset($_SESSION['logoncount'])) { $_SESSION['logoncount']++; //Increment for every logon attempt } else { $_SESSION['logoncount']=0; //Nr of failed login attempts initially zero } if(isset($_POST['Submit'])) //Check if the login form has been submitted { //Get the values from the new user form $pw = md5($_POST['Password']); //Note use …

Member Avatar
Member Avatar
+0 forum 1

hello how are you today i have a problem with cache when i visit my site i saw the old topic of my site until i hit ctl+f5 to update the page so how ca i solve this problem is there any way to prevent browser store cache i have used these meta <meta http-equiv="Pragma" content="no-cache"> <meta http-equiv="no-cache"> <meta http-equiv="Expires" content="-1"> <meta http-equiv="Cache-Control" content="no-cache"> but same result

Member Avatar
Member Avatar
+0 forum 2

I'm making a website where users select one of the four options - A, B, C, or D (for simplicity) and press a button to be redirected to a different page (page 2) that uses the selection to display one of the four images at the top. The selection is stored in a text file using PHP. Page 2 will read the text file and display the picture based on the value read. The problem is if the user had previously chosen option A and then presses the back button and chooses option C, the first time Page 2 loads, …

Member Avatar
Member Avatar
+0 forum 11

For security reasons, several articles recommend "do not cache pages". So I usually put the following at the beginning of my web pages header("Expires: Mon, 26 Jul 1997 05:00:00 GMT"); header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache"); That works very well, but many of the users like to use the history buttons. So, I need to allow it for a short period. I tried to use the following headers header("Cache-Control: maxage=".$expires.", must-revalidate"); header('Expires: ' . gmdate('D, d M Y H:i:s', time()+$expires) . ' GMT'); where $expires is the time I …

Member Avatar
Member Avatar
+0 forum 1

Hi, I am trying to put a dll to GAC. The assembly is signed. 1.I tried draging and droping (nothing happens) 2. I tried command gacutil /i abc.dll, from visual studio command prompt. It says Assembly successfully added to the cache but when I open windows\Assembly folder, I cant see my dll. I am using windows xp professional OS. Could anyone please let me know where I am doign wrong? Thanks. Regards,

Member Avatar
Member Avatar
+0 forum 2

I have made picture viewer in VB which also shows all the pics present in a folder as thumbnails using image list and listbox. The problem is whenever the user clicks refresh it takes long time for the image to load. I want to some how make a cache like thing where i can store the image for faster access in the future.

Member Avatar
Member Avatar
+0 forum 2

Hi, I'm struggling to understand how to write script for Zeus web servers. I need to leverage browser cache images to get my Google page speed up. i know this is the code for .htaccess but Zeus is different: <IfModule mod_expires.c> ExpiresActive On ExpiresByType text/html "access plus 2 days" ExpiresByType image/gif "access plus 60 days" ExpiresByType image/jpg "access plus 60 days" ExpiresByType image/png "access plus 60 days" ExpiresByType application/x-javascript "access plus 60 days" ExpiresByType text/css "access plus 60 days" ExpiresByType image/x-icon "access plus 360 days" </IfModule> any ideas of what script needs to go in my rewrite.script file?

Member Avatar
+0 forum 0

I've been having a reoccurring issue with my VPS since I moved to a new company and I'm trying to figure out what the issue is. There are a few different things going on (I believe they are all connected) -- [LIST=1] [*]When you visit a page that doesn't exist, instead of throwing a 404 error, it shows a page which looks like the index.php file in the respective directory you are in. [*]The bigger issue, is that when I'm uploading new files through FTP, they are successful but when I visit the page in the browser, nothing has changed. …

Member Avatar
Member Avatar
+0 forum 2

I need to access my browser cache specifically, the cache in Camino browser and Opera browser. I need the commands to get the cache, or any other method to obtain the cache. Thanking you in advance, I remain Mike Levinson

Member Avatar
Member Avatar
+0 forum 16

hello can somone please tell me why i cannot submit this twice i have a php form doing the validation and mailing but if there are errors in the form filling out it will send back an errorand tell them to fix it, without refreshing the form. the problem is the seccond time i click submit it does the initial form hide but stays stuck on sending the data to the php form again, could it be a cache issue and if so please show where exactly i should put the data or math multiplier because if i put it …

Member Avatar
Member Avatar
+0 forum 1

Hello, I have a very strange error. I recently installed a test environment on my laptop with IIS7/PHP5/MySQL on Vista Home Premium. When I tried to install phpMyAdmin I found that it somehow failed silently, in particular, config file could not get written even though no error was shown. To simplify the situation I set permission as Full Control for Everybody on wwwroot. As I investigated further I found that for some reason when a stream was open the actual file was not written on the disk. For example, the following code [CODE] <?php $fout=fopen('Test.html','w'); echo($fout);echo("<br>fprintf = "); echo(fprintf($fout,'Hello world'));echo("<br>"); …

Member Avatar
+0 forum 0

Hello everyone, I am looking to exclude some specific content from a cache system based on APC. This content is a complete directory. So if you have any idea, please let me know.

Member Avatar
+0 forum 0

The End.