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
1answer
13 views

Can I use Cloudflare with Tumblr or cache images manually?

I've just setup Cloudflare on my tumblr blog (with custom domain). 1) As I understand it, this was actually pointless because images on tumblr blogs are hosted on media.tumblr.com/.../inline.jpg and ...
1
vote
0answers
22 views

mod_cache always stores cached files served over HTTPS with “443” in the file name which causes caching not to work well

The config file: <IfModule mod_cache.c> <IfModule mod_disk_cache.c> CacheRoot /var/cache/mod_cache CacheEnable disk / CacheDirLevels 5 CacheDirLength 2 ...
1
vote
0answers
30 views

Set cache control from WAMP such that Firefox reports cached pages in the primed cache report

So I tried to allow cache by using <meta http-equiv="Cache-control" content="public, max-age=31536000"> but I'm not sure if the content of my pages are actually being cached. Although I ...
1
vote
2answers
41 views

Can external resources be cached for 7 days to improve my PageSpeed score?

Google Pagespeed recommends caching resources for at least a week under "Leverage browser caching". I've done it for internal files but I was wondering if something could malfunction if I did the same ...
1
vote
2answers
38 views

Cached Bootstrap vs Custom CSS

I am debating whether to use an existing framework such as Bootstrap which has a decent chance of being cached vs custom CSS which has zero chance of being cached. Which is better from a UX point of ...
2
votes
2answers
1k views

Why is my website cached so aggressively?

Whenever I update my website by uploading a new index.html or index.php, it always takes a long time (e.g. hours or days) for that change to propagate to my browser. Even when I hit F5, I still get ...
226
votes
42answers
18k views

Recovering a lost website with no backup?

Unfortunately, our hosting provider experienced 100% data loss, so I've lost all content for two hosted blog websites: http://blog.stackoverflow.com http://www.codinghorror.com (Yes, yes, I ...
1
vote
1answer
115 views

Can .htaccess be used to cache AdSense JavaScript to improve the pagespeed score?

I'm AdSense publisher and I need to improve the page speed score for my site. It already gets 90/100 for speed and 100/100 for User Experience, however Google AdSense code is preventing it from ...
1
vote
0answers
31 views

Make a particular section of a webpage appear at the top of Google's cached text only version

I would like to make a particular content of my webpage that appears at the bottom to appear on top on webcache of Google (text only version). eg: http://salesforce.com has a slider content that ...
1
vote
1answer
236 views

No cache and Google AdSense performance

I'm developing a page where I need to avoid JavaScript caching by browser. I've added this header: <?php header('Cache-Control: no-cache, no-store, must-revalidate'); header('Pragma: no-cache'); ...
12
votes
2answers
17k views

Headers to prevent 304/If-modified-since/HEAD requests

What headers should I be sending to outright stop all requests to the server after the content has been cached? We have a very high latency server (Sigh, VMWare) so even sending a HEAD request to the ...
3
votes
2answers
134 views

CloudFlare Not Sending If-Modified-Since Headers

I'm trying to reduce my server load by providing 304 Not Modified responses for content where appropriate. CloudFlare is my middle man, so they should be sending If-Modified-Since headers whenever a ...
2
votes
1answer
30 views

Where are cached files stored by the W3 total cache plugin?

I am planning to use caching for my website (W3 total cache plugin) and I was wondering whether the cached files will be save on visitors personal computers or not? I know that browsers also use ...
2
votes
2answers
283 views

Why does modx-based site start using different domains for some content?

situation I have a modx site on a VPS with multiple domain and subdomain names. The modx site should use what I call the 'primary' domain name's 'primary' subdomain, ie www.intendedname.tld . The ...
0
votes
1answer
22 views

loading old web pages and not the updated ones

I have updated my design and uploaded it to my server, but it's showing old content for sometime, new content for sometime. I randomly checked lots of computer, same problem is happening everywhere.
1
vote
2answers
64 views

I'm receiving an “Account Suspended Page” when trying to accessing my VPS

I have a VPS account and host a handful of sites. Two of these sites I cannot view from specific computers. When I open the sites I get the account suspended page. See screenshot below. Here is ...
2
votes
1answer
57 views

How to force browser to download all static files every time?

Is it possible to force browser to not using cache and download all files (html/js/css) every time? I am looking for a server side solution.
0
votes
1answer
29 views

Preventing Cache for Text Content but not for CSS files and Images

I have Wordpress blog that I write blog posts about javascript. I update the same post by generally 12-13 days or so. But sometimes I push updates daily. After I update my article and publish to ...
1
vote
1answer
82 views

Google PageSpeed, optimizing Google's own elements

I'm trying Google's PageSpeed online service Ironically, it's primarily highlighting Google's own services as something that needs improvement on my site 1) jQuery from Google: blocking. So I moved ...
2
votes
1answer
42 views

CDN caching my HTML pages too!

Recently I started using Amazon CloudFront to serve my site's JS,CSS and images via CDN. However, seems like with those, CloudFront serving my HTML pages as well? Thus http://mydomain.com and ...
1
vote
1answer
14 views

Ad revenues via Google cache

Do ad revenues from page-views (as opposed to ad-clicks) accrue from webpages viewed via Google cache?
3
votes
1answer
85 views

What's the minimum age for a Cache-Control header with Akamai?

We're planning an integration with a CDN (likely Akamai) and are trying to determine how low we could go for a max-age value. For a site that could get a few hundred thousand folks hitting the site ...
1
vote
1answer
26 views

Values for saved data and saved requests much lower in CloudFlare analytics for several months

For several months now the pie charts in my CloudFlare analytics show a much smaller value for the saved data and saved requests (around 5%). Before this the pie charts showed a saving of around 50% ...
0
votes
1answer
38 views

Will previous 301 redirect still be cached if site switches to using SSL?

For reasons only my past self knows I put a 301 redirect in place to force all traffic to example.org from www.example.org. Put simply it dropped the www. subdomain. Now I would like to change it so ...
2
votes
1answer
72 views

Best way to optimize joomla cache. Difference between Global configuration cache and system cache plugin

I need to know for a Joomla site there is system cache plugin then there is global configuration setting to enable cache - how is it different from system cache plugin below are some of ...
1
vote
2answers
42 views

Can I place a caching server in a remote location?

Let's say I have one server acting as HTTP and MySQL server located in the UK, and I want to add a caching server, for example, Redis or Memcached. Can I add a caching server which is located in the ...
1
vote
1answer
239 views

CloudFlare - Difference between Basic, Simplified, and Aggressive caching

CloudFlare has this page to explain the difference between their caching settings: https://support.cloudflare.com/hc/en-us/articles/200168256. However, I'm still confused. It says: Basic: ...
1
vote
1answer
27 views

Can websites appear differently to different internet networks?

I just began launching a site for one of my clients, but I've come across a very strange issue. Whenever the client tries to access the website from an internet capable device in his office, he gets ...
2
votes
1answer
56 views

How long before legacy 302s are recognised as 301s?

We have some legacy 302 redirects in place on our site that should have always been 301s. We've now changed the redirects to 301s but various SEO tools (and presumably Google) still see the 302 ...
4
votes
2answers
2k views

Does Google cache stylesheets?

Hey guys, we all know that Google caches the HTML of pages, but does it cache the corresponding CSS as well? I ask because a site I used to have and have since closed down is still in the cache and ...
5
votes
2answers
3k 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 ...
1
vote
1answer
29 views

How to cache on CloudFlare images that are served to client as JSON?

I am using a gallery on my website that gets list of images from a JSON sent by a php script. So, the javascript gallery calls PHP backend and it replies with complex JSON where images are specified ...
2
votes
1answer
427 views

Why doesn't FireFox cache my JavaScript file?

I've been trying to figure out why Firefox does not cache my JavaScript file. I don't have this issue with Chrome or IE. Here is what my server's Response Header looks like: ...
2
votes
1answer
197 views

Why is CakePHP generating unrequested 301 redirects?

Seemingly at random, when I attempt to go to a webpage (such as /want), another webpage (such as /get) on the same subdomain is loaded in response. This has been happening for many months on a set of ...
7
votes
3answers
342 views

Why don't browsers respect cache headers for initial page request?

I'm scratching my head a bit on this. A Drupal site I run is setting appropriate cache headers that should indicate that the page can be cached for 15 minutes. However, every time I hit the page it ...
2
votes
2answers
1k views

URL with query disables caching?

Does having a query string attached to a URL cause browsers to never cache it? For instance, my site does something like this: /radar-picture.png?v=sep2013 And it would appear that FireFox never ...
3
votes
2answers
100 views

Do browsers recognize the same files served by different subdomains?

I have my website assets stored on Amazon S3 and served by CloudFront, from a separate domain name, to act as a cookie-less domain (so website.com for the website and websitestatic.com for static ...
1
vote
1answer
60 views

Changing mysql query_cache_limit without having root priviledges

Can query_cache_limit in mysql 5 be set locally for a specific database? I don't have root privileges to change the global variable. Can query_cache_limit be set locally for each database?
4
votes
3answers
717 views

Does CloudFlare cache videos, and would this wildcard Page Rule work for that?

I'm setting everything up in my website to use CloudFlare. This is my example: On videos.domain.com/Folder-A/Folder-B/ there are some HTML files that I would NOT like CloudFlare to cache. But inside ...
3
votes
1answer
2k views

How to make CloudFlare cache everything?

I want CloudFlare to cache everything, PHP files too, every request from the domain, I want it to cache it. Is this possible? (There are PHP scripts on the domain that print out images, JS and CSS, ...
1
vote
1answer
303 views

advantages and disadvantages of base64 image strings

I discovered that you can covert images into base64 strings and use those string within img tags and css like this: <img alt="" src="data:image/png;base64,iVBORw0KGgoAhEUgAAA ... FTkSuQmCC" /> ...
0
votes
4answers
98 views

Why is cached page showing after clearing all browser data

I have cleared all browsing data from Chrome as well as pressed Ctrl+F5, but a cached home page is still displayed. My test homepage shows the new page correctly. I am absolutely positive the new page ...
1
vote
1answer
245 views

Apache returns 304, I want it to ignore anything from client and send the page

I am using Apache HTTPD 2.2 on Windows. mod_expires is commented out. Most other stuff are not changed from the defaults. gzip is on. I made some changes to my .js files. My client gets one 304 ...
1
vote
1answer
30 views

Page caching Is not working

This is my htaccess file.I also embedded webcaching code inside it. DirectoryIndex index.php <IfModule mod_rewrite.c> RewriteEngine On #RewriteBase / RewriteCond %{HTTP_HOST} ...
0
votes
2answers
57 views

How to add a remote file to .htaccess file for webcaching?

I have the following code in my .htaccess file that caches several file extension types: ## EXPIRES CACHING ## <IfModule mod_expires.c> ExpiresActive On ExpiresByType image/jpg "access 1 year" ...
1
vote
1answer
80 views

Website still displays deleted files

I went to update a website's CSS today and noticed whenever I uploaded the file with my changes nothing would happen - no changes would appear on my site. This was the same with any of the images I ...
4
votes
1answer
3k 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 ...
3
votes
1answer
138 views

Could AJAX + caching be seen as cloaking?

I have a website where we use a technique to speed up loading times based on a combination of AJAX + caching. Basically, when we have a section in a page with content which is slow to retrieve, we ...
1
vote
1answer
391 views

Nginx Browser Caching using HTTP Headers outside server/location block

I am having difficulty setting the HTTP expires headers for Nginx outside of specific server (and then location) blocks. What I want is to something like the following: location ~* ...
6
votes
2answers
315 views

New requests for /cache/ URLs

A few weeks ago requests following this type of pattern: http://mysite/cache/7a226e8aa3a4380444a329a7b0dd0f40 http://mysite/otherfolder/cache/7a226e8aa3a4380444a329a7b0dd0f40 started to appear ...