A cache is a local copy of a file that exists elsewhere. Caching can take place in the browser, on a dedicated machine on a network, or at an ISP.

learn more… | top users | synonyms

1
vote
0answers
6 views

Is it feasible to use Vary: headers with If-none-match: to improve caching?

As we all know, sending a response header Vary: Some-Header causes (or should cause) caches to store different variants of the response, one for each value of Some-Header: it encounters in requests. ...
7
votes
1answer
194 views

Cloudflare: Cache static HTML when URL has Query String

Quick CloudFlare 'new user' question for you: BACKGROUND: The HTML pages served up by my origin server never change. All dynamic content is download via JavaScript after the page is loaded in the ...
0
votes
1answer
153 views

How long does it take to re-index the website via noarchinve tag?

I read elsewhere on here that one can't re-index their site with google, but I like to challenge that. Currently, I have every page on my website (that contains about 1,000,000 pages) labeled with a ...
0
votes
1answer
588 views

Is there a way to make Alexa's ia_archiver slow down its crawling of my website?

Alexa's ia_archiver bot is the main contributor to the Internet Archive's "Wayback Machine" web collection, and there are advantages to having my website included in that collection. There are other ...
4
votes
1answer
5k views

“404. That’s an error.” when viewing from Google cache

My site is getting 404. That’s an error. message when I click on cached from Google search results. This is the error message from Google: That’s an error. The requested URL /search?q=cache:...
1
vote
1answer
42 views

Hashbang, images and SEO

I'm implementing a caching plugin to my app, and it adds an hashbang string to the names of the static files. I would like to know your opinion regarding it. Adding an hash to static files like JS or ...
0
votes
1answer
18 views

Would changing the expiry header for `analytics.js` from Google Analytics mess things up?

I'm using GTMetrix to help figure ways to speed up my page load times. One of the suggestions is to Leverage Browser Caching, which indicates wanting resources to expire 1 week or longer. One of the ...
5
votes
3answers
3k views

expires headers and forcing cache-loading instead of 304?

so here is a little mystery. google analytics javascript somehow always loads from browser cache on F5 (in Firefox). i cannot get the same thing to happen with my own scripts. here are the headers ...
2
votes
1answer
50 views

Completely cached by Cloudflare Wordpress redirect to HTTPS

I have a WordPress (WP) install that is located on a shared hosting package that uses Apache in the root of the domain (not a subfolder or subdomain) with no SSL certificate (not even self-signed). I'...
0
votes
1answer
36 views

Request for an existing file causes 404 error

A customer cannot access a file that I put online for him, or the folder that it is in. Requests for both the folder (/bastide) and the file (/bastide/coupon%20d'engagement.pdf) return 404 errors. I ...
4
votes
2answers
445 views

Prevent browser from caching text file

I have a web application that runs on an Apache server on the intranet of an organisation. In this web application there is a JavaScript function that loads a specific text file via JavaScript xhttp =...
1
vote
1answer
25 views

are there any advantages to having a short TTL?

I'm currently doing a study on the DNS and I was wondering whether there are any advantages to setting a short TTL on a DNS record stored in a local cache.
4
votes
5answers
6k views

how should cache control be set in the requests

I know that Cache-Control headers can be set on the pages coming out from the web-server (as part of the response). Does anyone know how Cache-Control header should be set on the request? Should it be ...
2
votes
2answers
71 views

Google cache for home page shows the the Facebook page instead

I have a very weird and kinda crazy problem with Google caching one of the pages on the website. At first, I thought I got hacked or something similar, I also talked to my host and they said there is ...
4
votes
1answer
85 views

Google Cache: Blank Page (Responsive Design) [closed]

I've been aware of this issue for sometime but sadly not had the downtime to address, but I want to ensure that its actually a problem before wasting my time. The problem that I have is that Google's ...
1
vote
1answer
32 views

Another way to force non-caching

This is the HTTP header I typically use to ensure that an image is not cached. And the reason why I do this to a select few images is because I have an image application integrated in my site and ...
1
vote
0answers
16 views

Is my application cache manifest file legal for my website or will I run into a cross-domain policy issue?

I'm trying to figure out if I can reference subdomains in a cache manifest file and have the assets cached. I read that in SSL mode (which I'm not using on my site) all URLs must be referenced from ...
1
vote
2answers
39 views

What happens if CSS file falls out of cache but HTML file doesn't?

I have a static HTML page for which I have set a cache-control max-age of 6 months, and it calls a style_v1.css file with a max-age of a year. What happens when I update the HTML file to call my ...
1
vote
1answer
30 views

Bots and image caching

Once again, I'm trying to optimize my site because one test showed the time to first byte is slightly over 200ms, but I need it under 200ms to make google happy. I was looking at code to my site and ...
1
vote
0answers
39 views

How to prime cache on all location of a cdn

I have just started using MaxCDN to serve static resources faster (images, js and css mostly). It works great, as long as the data is cached on the cdn's location that is close to where I live. But ...
1
vote
1answer
43 views

How do I adjust my HTTP caching for optimum page delivery performance?

I read an article about caching at http://vadmyst.blogspot.ca/2005/09/server-side-etag-vs-cache-control-max.html and currently I'm using both cache-control, expires, and Etag type validation on my ...
0
votes
0answers
18 views

Escaped Fragment was not removed though indicated as removed

I deleted the website. Asked google to delete the cached/snippet. All was done and google indicated it as "removed". But the escaped fragments are still be visible in google cached search; when I am ...
1
vote
0answers
41 views

Akamai vs pagespeed module

We have akamai as CDN, we also have Apache before our website. We want to utilise the page speed module benefits. We are just worried about how page speed cache will affect our application where we ...
1
vote
0answers
12 views

Is there any way to get diagrams from google cache?

I would like to know if I could get diagrams from this cached web page.I tried downloading the original file(.ppt) of the cached version but it doesn't open.While I look at the cached page I can only ...
1
vote
1answer
130 views

Low cache hit rate with Cloudflare

I am using a free Cloudflare account with a WordPress site and have seen consistently poor cache hit rates. After several weeks using Cloudflare, only about 22% of requests and 50% of traffic by ...
2
votes
3answers
447 views

When do browsers clear cache and how can I make more use of 304 responses?

I have a website with some some content which changes frequently. I would like to benefit from good caching when this doesn't change (so would ideally use a longer Cache-Control header), but would ...
2
votes
1answer
142 views

Tradeoffs around using a query string vs embedding version number in the CSS/JS files [duplicate]

I was reading articles and forum posts about using version numbers in CSS/JS files. http://www.stevesouders.com/blog/2008/08/23/revving-filenames-dont-use-querystring/ http://www.particletree.com/...
0
votes
0answers
21 views

How do I cache IP-restricted content using CloudFlare?

Let's say I have files at https://corp.example.com/private/*. Before I started using CloudFlare, access to these files was restricted to certain IP addresses, defined in an nginx config file. I now ...
1
vote
1answer
123 views

How much privacy is disclosed when looking at Google cached pages?

I have a question on something I read in the article found at this URL: http://navigators.com/cached.html "Many internet researchers incorrectly assume that clicking on Google's "cached" in a search ...
2
votes
2answers
55 views

Avoid caching by creating photo names that contain unique identifiers?

If you are building a website that will display photos to users of the site, is it important to always give each photo a unique name? For example, instead of naming a photo file using an index number ...
1
vote
1answer
128 views

Browser Cache Control

First: I'm a Designer that knows some HTML and CSS, not a programmer, so I'm so in advance for my limited knowledge and understanding :) My website skeleton is based on a single HTML and a few CSS &...
5
votes
2answers
5k views

Clearing cache with CloudFlare?

Is it possible to clear or avoid CloudFlare cache while doing development? I'm developing a site that has caching on several levels - WordPress supercache, the caching done by the browser, and ...
0
votes
1answer
58 views

optimal cache setting for dynamic page

My webpages on my website may appear static to the user, but they're actually dynamic since data is retrieved from a database and may be changed at anytime. Additionally, users may customize some ...
2
votes
0answers
74 views

Server overload upon deleting files

On my website, I've shared a few files that could be downloaded and installed by XBMC / Kodi software, i.e addons and a repository to download and install these addons. Now, here's the interesting ...
17
votes
4answers
6k views

Why don't browsers have jQuery installed?

I'm using jQuery on several of my websites and although I use a CDN to serve it, it just doesn't make sense for visitor to download jQuery each time. jQuery must be the world's most widely used ...
0
votes
3answers
77 views

I do not want my website to be cached

I own a website that will be updated daily with clients. When I upload new info/web pages/amendments, the old cached version of the 1st page keeps popping up. How do I stop this....
2
votes
2answers
60 views

Caching a changing site

I run a website where the static content changes at least 4 times a week and I'm trying to figure out the best header arrangement to use. Currently I have all caching related headers in use. I have ...
2
votes
1answer
186 views

.htaccess file not caching

I have read several guides for how to write the htaccess file for caching but with no success. I asume I wrote something wrong and need some help on finding what i did wrong. Here's my htaccess file: ...
1
vote
1answer
2k views

Is there any way to invalidate all memcache entries that begin with “User*”?

I recently made a change to my User class (which is memcached); is there any way I can invalidate all entries whose key begins with User without invalidating the entire cache? If not are there any ...
1
vote
0answers
156 views

Magento Robots.txt and blocking cached images

We have a Magento based store. Images are resized and served cached dynamically. When the image cache in Magento is cleared, there are generated new paths and files. And I get 404 errors for them ...
4
votes
1answer
1k views

How to fix “Leverage browser caching” error from Page Speed plugin

I'm using the Page Speed Firebug plug-in to check my sites. But I don't know how to fix the "Leverage browser caching" error, since I don't know you specify a cache lifetime to the browser in images ...
1
vote
1answer
687 views

How to manage the leverage browser caching for third party JS files? [duplicate]

Is it possible to set and expiration date for the file http://assets.pinterest.com/js/pinit_main.js? And the other stuff down the list? I want to bring up my score as high as possible. I'm using ...
0
votes
1answer
75 views

Eliminating 'cookie' from 'vary:' without breaking website functionality

I read that some middle-man servers won't cache websites that have cookie set in the vary: header. For example, If my website issues a vary:accept-encoding,cookie as opposed to vary:accept-encoding ...
0
votes
1answer
25 views

How can I keep track of changes in my site's view?

I want to keep track of changes in our company's website view. I want to know about changes to links and pictures in the homepage. I don't need to keep track of website's development, e.g I don't want ...
1
vote
1answer
435 views

How do I make a static html page and its resources cacheable?

I just ran a pagespeed analysis of my page and came across the following pointer by google pagespeed: Leverage browser caching Setting an expiry date or a maximum age in the HTTP headers for ...
1
vote
3answers
306 views

Image max-age / cache-control not being set

In order to speed up my site Telium I created the .htaccess below. I have a lot of large images on my site so I want browsers to cache as much as possible. However, when I browse to my web site ...
0
votes
0answers
132 views

NGinx Downloading instead of Serving

I have nginx setup on my ubuntu server as the web server with 3 config files (minus the site configs) All of my sites now download a application/octet-stream file rather than serving up the pages. ...
1
vote
0answers
19 views

What can I do in regards to the GPSI complaint on cache-control on dynamic images?

I ran google page-speed tests on my website again and it stated this... Setting an expiry date or a maximum age in the HTTP headers for static resources instructs the browser to load previously ...
1
vote
1answer
127 views

Minify not caching according to pagespeed insights

I started using https://code.google.com/p/minify/ on my site to decrease the amount of http requests. But google's PageSpeed insights tool is telling me that the new reference link isn't being cached. ...
1
vote
1answer
253 views

How do I prevent cached pages from showing up to returning visitors after doing a website update?

After making an update to my site's pages, I don't want the cached version of the old page to show up to returning visitors. Is there a way to do this from my side, without the user having to do a ...