Questions tagged [browser-cache]

Browser caches are an instance of the optimization mechanism known as a cache.

Browser caches are an instance of the optimization mechanism known as a cache.

The browser cache is nothing more than a place on your hard disk where the browser keeps things that it downloaded in case they're needed again.

For example, the first time you visit a web page, the browser will download some files like the logo image or icon images, so that it can be shown.

Since it's faster to get something to display from your hard disk than it is to get it from the internet, every time thereafter when you visit the same web page or any page on that domain, the browser will be searching for the required images and other files on its cache folder. Only if not found it goes to the internet to download them.

2884 questions
1
vote
1 answer

Forcing cache refresh after modifying head.js javascript calls?

I am using head.js and using the below file to initiate the javascript file calls: In the load.js file I have the following code: head.js( {livechat: "/scripts/livechat.js"}, …
Damainman
  • 515
  • 9
  • 21
1
vote
1 answer

get dialog with html and script from using ajax

when a user open a new dialog in my application. i am getting the dialog HTML and script who are responsible to handle that dialog. when i am opening the same dialog again. seems like the browser is caching my javascript from the previous…
shay te
  • 1,028
  • 3
  • 12
  • 23
1
vote
1 answer

Selenium IDE how to delete session Cookies?

I am doing an exercise to search a solicitor, then access her profile, then log out. I would like to clear the browser cache or the cookies, so when I run the script in a continuous pattern, it will act like start from the beginning. It doesn't…
user2061466
  • 485
  • 9
  • 17
  • 27
1
vote
1 answer

BufferedDynamicImageResource cached by browser

To display a dynamically loaded image in my webapp I'm using a BufferedDynamicImageResource. (It just loads the image from a backend server based on an database id.) The URL of the image resource ends up…
aioobe
  • 413,195
  • 112
  • 811
  • 826
1
vote
0 answers

Facebook iframe tries to access other iframes

I have Facebook Like, Google +1, and Tweet buttons on my web page (https://www.coinek.com). Each uses a simple implementation recommended by Facebook / Google / Twitter. Functionally the buttons work as expected however whenever I click the…
Zeeb
  • 39
  • 5
1
vote
1 answer

Forcing Ajax to get cached version

I am creating a Google-Chrome extension and I want to be able to pull some images that a website is loading and put them in the extension. In some cases, this can result in a lot of requests to the server, effectively slowing it down. These images…
Franz Payer
  • 4,069
  • 15
  • 53
  • 77
1
vote
1 answer

How can I properly implement inetcpl.cpl as an external dll?

I have the following 2 sets of code, both of which produce the same results: using System.Linq; using System.Runtime.InteropServices; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; namespace ResetIE { class…
Kyt
  • 11
  • 3
1
vote
2 answers

Manually Caching SWF/SWC in the Browser - Mimic Adobe's Signed SWZ?

I would like to take advantage of Adobe's Runtime Shared Library system for swc's, but I'm not sure how it ACTUALLY works, like the programming behind it. I understand that it allows you to load SWCs at runtime, but how does it do that? I'm asking…
Lance
  • 75,200
  • 93
  • 289
  • 503
1
vote
1 answer

UIWebView caching not working for NSURLRequestReturnCacheDataElseLoad

I have setup an ARC compliant iOS 6 SDK built application to try to test out UIWebView and the caching of NSURLCache sharedCache. I'm forming my request for the UIWebView like this: -(void)runRequestWithMode:(NSURLRequestCachePolicy)policyMode { …
cynistersix
  • 1,215
  • 1
  • 16
  • 30
1
vote
3 answers

Cache images on php script

I am using this great randomizer code found here: http://alistapart.com/article/randomizer , but the images are not saved on the browser's cache which means they refresh whenever the site reloads. Is it possible to keep the images cached on the…
Tasos
  • 1,622
  • 4
  • 28
  • 47
1
vote
1 answer

Set expires to max for all images of all servers in nginx

I have an nginx setup with multiple server blocks. I'd like to know if there's a way to globally set the value of expires to max for all images, CSS and JS across the server. I know I can use this: location ~* \.(jpg|jpeg|png|gif|ico|css|js)$ { …
user1544337
1
vote
0 answers

FormAuthentication not works when html5 Appcache enable in ASP.NET MVC

In My Mvc application i have enable Html5 Appcache which cache only js,css and images. The problem is when enabling the appcache my FormaAthentication fails. After disabling it's works fine. I don't know why it is happening.Please give me a…
Jameel Moideen
  • 7,542
  • 12
  • 51
  • 79
1
vote
1 answer

Remove cache with javascript

So my javascript files are being cached. Originally I just had them in a script tag like so: Now my understanding is that it is perfectly fine for browsers to cache GET requests. Since my…
FabianCook
  • 20,269
  • 16
  • 67
  • 115
1
vote
0 answers

how to force page not to load from cache if there are changes in page

I have a site with advertisements and so the user is able to change his advertisement. But if the user goes to his own advertisement the page is the same, because the page loads from the browser cache. I can use a meta tag that tels the page not to…
Jilco Tigchelaar
  • 2,065
  • 8
  • 31
  • 51
1
vote
1 answer

LESS: watch() mode solve problems with @import?

I have this problem with a LESS project. It's first time that I try this new language... I'm using less.js library to parse .less file in real time. I created many .less files with a main.less that @import others. Today I experienced some strange…
Luca Detomi
  • 5,564
  • 7
  • 52
  • 77