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

0
votes
0answers
12 views

Serving images from public folder or by imagecache?

I am using Intervention/imagecache on my Laravel website, which creates thumbnails on-the-fly by URL manipulation. So thumbnails are automatically created with this route: ...
1
vote
1answer
166 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'); ...
1
vote
2answers
44 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 ...
0
votes
0answers
4 views

PHP Caching Too Long [migrated]

I rolled out a pretty simple cache system on my site last week using a PHP class referenced in my sitewide template file. The cache system dramatically improved server response times (the template ...
0
votes
0answers
12 views

Cache control using WAMP

So I tried to allow cache by using <meta http-equiv="Cache-control" content="public, max-age=31536000"> but I'm not pretty sure if the contents are being cached. Although I receive a 304 code ...
2
votes
2answers
253 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 ...
2
votes
1answer
26 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
26 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
41 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
36 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
13 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
46 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
21 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
25 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
64 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
41 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
83 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
25 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
46 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
24 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
129 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
122 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
317 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 ...
0
votes
0answers
27 views

Make a particular section of a webpage appear on top webcache

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 ...
2
votes
2answers
546 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
77 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
50 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?
3
votes
3answers
428 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
178 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
93 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
217 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
28 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
50 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
75 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
129 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
326 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
312 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 ...
5
votes
1answer
418 views

How do Expires headers and cache manifest rules work together?

I find the W3C's official Offline Web Applications specification to be rather vague about how the cache manifest interacts with headers such as ETag, Expires, or Pragma on cached assets. I know that ...
0
votes
1answer
67 views

Wrong content for URL cache on Google

I have this website natural-track.com and when I do a cache check I get a completely different website,This is Google's cache of ...
0
votes
1answer
2k views

Why am I frequently asked to access a cached copy of a particular webpage?

I moved my WordPress website from localhost to a live server, but sometime I am able to access my website and sometime not, it shows: Oops! Google Chrome could not find www.example.com Access a ...
0
votes
1answer
27 views

Caching Google do not

I'm trying to test the speed of my site with monitoring-transactionnel.com I have an error Vary: Accept-Encoding with Google but I do not know how to settle the problem.
0
votes
0answers
39 views

Conservative caching refreshes my site weirdly

I have site built in Joomla! 3.1. I spent last 2 hours trying to solve an issue: with Conservative Caching activated, my front-end auto-refresh in 8seconds. I set cache time to 25minutes, but for some ...
2
votes
1answer
28 views

Ideal cache times for browser caching times for different file types?

I am trying to improve my site's performance - and that includes caching. I found some great caching via .htaccess from the boilerplate html5 template - but the cache times seem odd. Does anyone ...
0
votes
1answer
201 views

Why Google stopped caching my site? [closed]

Today I noticed that Google has stopped caching my site. I don't know why? cache:www.technostall.com (that's how I check cached pages in Chrome) gives a 404 page. Can anyone let me know why is this ...
3
votes
2answers
902 views

How can I make redirections cacheable to speed up load times?

Google PageSpeed says this: Avoid landing page redirects To speed up page load times for visitors of your site, remove as many landing page redirections as possible, and make any required ...
15
votes
4answers
32k views

How do I set expiration headers for CSS, JS, and Images?

I have recently analysed my website with pagespeed addon on firebug. It suggested me to set expiration on CSS, JS and image files. I am wondering how do i do this?