Questions tagged [cache]

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.

Filter by
Sorted by
Tagged with
1
vote
1answer
35 views

How to cache the html file of redirected website

I have a website A whose content gets updated every minute(Its content is related to stock price). However, because displaying the content of website A requires expensive computation, I want to create ...
4
votes
3answers
69 views

How to force users to see new site instead of the cached version?

We've just launched a new website. This was a complete redesign, including a change from a static HTML website, hosted on Server A, to a WordPress site hosted on Server B. (the relevance of that is ...
2
votes
1answer
21 views

How to use cdn cache with login status in menu?

On my website I have in the header a button called either "Login" or the name of the user if he is logged in with a small avatar. I don't use any cache, so the text for the header is ...
2
votes
0answers
27 views

litespeed cache works but after some time site gets to redirect into redirect loop

I have a WP one page website on which i enabled light speed cache plugin which improved site performance but on the other side side goes into redirect loop which crashes the site. I was not able to ...
0
votes
1answer
30 views

Can I tell who is accessing archive.org archived documents from my site from my server logs?

I currently host a website with a collection of some of my projects, where a few of them are currently undergoing a patent review process. I don't want these documents to be public (though they were ...
2
votes
1answer
74 views

How does hash in file name affect google image search ranking?

In terms of cache optimization it is recommended for static files like images to cache them forever. In this case if you want to update an image you have to use a different file name so that the ...
1
vote
1answer
48 views

Default cache-control directives (and behaviour) when header returns only private

I just checked the cache-control header returned by webmasters.stackexchange.com. The only directive present in the response is cache-control: private. In this case, what are the default values for ...
6
votes
2answers
2k views

Do ISPs cache HTTPS web pages?

Provided I have not set cache-control header to private, can ISPs cache web pages (by respecting max-age) served over HTTPS? Sorry if I sound naive, but I wanted to know if ISPs somehow can cache and ...
0
votes
1answer
17 views

Why do servers cache Web pages even though they know the Web page will be changed in the future?

For performance, some Web pages get cached. This is because the server can then speed up page load time: Without a cached copy +--SERVER--+ +--CLIENT-...
0
votes
2answers
36 views

Using Cache to make website faster

I am building a website with node.js express webserver and i use Mongo db database. On my website people can register a profile they can upload pictures and write text. Now i hear often that many ...
0
votes
0answers
74 views

Adsense not showing

This is kind of a strange glitch, but still..? I can’t figure it out. When I go to a question on my database almost every time, the ads don’t show, but when I change the url by adding page.php?...
1
vote
1answer
58 views

How to determine if APCu is overall lighter than Memcached in a usecase?

I would say that my personal website is at least currently a "small" website. It is a MediaWiki-based all-core website without images at all and of about 750 webpages of generally no more ...
1
vote
1answer
185 views

Cache-Control for ads.txt, robots.txt and sitemap.xml files that are generated dynamically

I have some "static files" that I build on the fly, because they are generated dynamically. ads.txt robots.txt sitemap.xml What is the ideal Cache-Control for those files? PS: My server is ...
4
votes
1answer
175 views

Use A.jpg if you have it in cache, otherwise use B.jpg?

Let's say I have one page big.html that uses <img alt="big image" src="big.jpg" width="300" height="300" /> where big.jpg is indeed an image of 300 by ...
1
vote
0answers
20 views

httpd.conf is cached and no editing is succesful [closed]

I am going to use the WSL system on Windows10 to create a website. The distro is Ubuntu. I put httpd.conf in /etc/apache2/conf-available where there are these two lines (line 40): Define SRVROOT "...
1
vote
1answer
33 views

What's the difference between access and access plus in ExpiresByType directive?

I have seen: ExpiresByType image/jpg "access 1 year" But also: ExpiresByType image/jpg "access plus 1 year" So, what's the difference between those two lines ?
1
vote
1answer
20 views

What types of files does ExpiresDefault include?

I have: ExpiresActive On ExpiresByType image/jpg "access 1 years" ExpiresByType image/jpeg "access 1 year" ExpiresByType image/png "access 1 year" ExpiresByType image/gif ...
1
vote
2answers
75 views

How ExpiresByType and Header set Cache-Control works together?

I have: ExpiresActive On ExpiresByType image/jpg "access 2 years" And let's say: <filesMatch ".(jpg|jpeg|png|gif)$"> Header set Cache-Control "max-age=31536000, ...
1
vote
0answers
24 views

Understanding mod_expires apache module [closed]

Working with htaccess is a new capitol for me. I have already read about mod_expires here https://httpd.apache.org/docs/current/mod/mod_expires.htm, but I'm stil confused. I have the next code from ...
1
vote
0answers
62 views

Understanding htaccess cache rules [closed]

Ok. I've read a lot and I understand almost nothing. I talk about cache, and I don't know any cache system that is interested in keeping my files, for me, and for free. And, as I read, there are ...
2
votes
0answers
16 views

Deleting AMP cache: "The requested URL /update-cache/c/s/whatever was not found on this server"

I want to delete the AMP contents of my 'amp-en.products.example.com' website. I create the following URL to flush the cache https://amp--en-products-example-com.cdn.ampproject.org/update-cache/c/s/...
0
votes
1answer
31 views

WP site struggling to refresh

I used to think this was an issue with Google Chrome, when I would struggle to get pages to refresh with their latest CSS styles — despite me having the option set to disable cache when inspector ...
1
vote
1answer
44 views

How to manage page caching to serve different AdSense units for Mobile and Desktop

I'm trying to cache the pages of my website, which are responsive and show the same contents for Desktop and for Mobile, with the exception of the location of the AdSense units if the visit is from ...
0
votes
0answers
87 views

Why Google Cache Showing 404 on my React Base Webpages?

My web page is client-side rendered with React. On hitting the cache, it is showing 404 instead of a rendered page. Example Screenshot When I inspect the Page URL on Search Console, Its parsing and ...
2
votes
1answer
338 views

Large number of hits from IP addresses that reverse lookup to "cache.google.com"

We are seeing a large amount of server requests by IP addresses claiming to be cache.google.com and they are coming from all sorts of (unexpected) countries too. Currently the FW blocks servers that ...
2
votes
1answer
24 views

How to create a html file offline with app cache

We have an online html file that is accessible through the browser, we want this to be available offline and looking in to it the best thing would be using the App Cache with a manifest file. I ...
2
votes
1answer
347 views

When my origin serves a "304 Not Modified", Cloudflare sends "200 OK" and makes the user download the page again

I'm using Cloudflare to cache certain APIs. I'm setting the below headers in my Origin server: Cache-Control: public, must-revalidate, max-age=300 Basically, I'm instructing the browser here to cache ...
2
votes
1answer
46 views

Why is the Google Analytics keyword report showing items that start with "cache:"?

When I check Google Analytics, I see some keywords like cache:2933b974en0J:https://example.com/subservice/well-digging Why is this showing in google analytics? What is the problem? How can I solve it?...
1
vote
1answer
144 views

Why I am not seeing HTTP 304 response codes in my Apache logs?

Why I am not seeing HTTP 304 response code in my Apache logs even though my webpages are sending them? I've checked this in Chrome console: My goal is to see which browsers are successfully using ...
2
votes
1answer
72 views

Flush cached selector in Adobe Experience Manager without flushing entire directory

How can I use selector based cache flushing in Adobe Experience Manager? http://example.com/content/myapp/us/en.child1.xml http://example.com/content/myapp/us/en.child2.xml Lets say,we have xml's ...
0
votes
0answers
53 views

CloudFront For Wordpress Site On EC2

I have an EC2 instance, with LAMP Stack. I'm following this guide for CloudFront setup for a wordpress site. https://aws.amazon.com/blogs/startups/how-to-accelerate-your-wordpress-site-with-amazon-...
2
votes
0answers
50 views

Google Search Console reports mobile friendly errors after enabling WordPress caching plugin

I tried to test my site in the google webmaster, I got Mobile usability issue But when I exclude the Googlebot in my cache plugin it's working properly! The speed is important so I am trying to send ...
0
votes
1answer
77 views

Why google is not caching my pages? [duplicate]

Some pages of my website chevy-cars.com are showing the cache button on the right side of the links in google listing and some pages are not for a long time. The pages that are showing cache button ...
1
vote
1answer
63 views

CDN cached PHP page vs HTML one - Loading speed

Is there any difference at all in terms of loading speed if we have a fully cached PHP generated site (by for example, using CloudFlare rules "Cache everything") and a HTML page? Cloudflare allows ...
2
votes
1answer
37 views

I have one website that seems to be cached indefinitely on my Mac

I have a strange problem that I can't seem to find an answer to. I developed a website for a client on my dev server. I uploaded it to their live server when it was ready. This was 2-3 months ago. ...
3
votes
1answer
1k views

What headers used in request by google bot?

What headers used in request by google bot? Must be user agent, but what else? I'm interested in cache control headers, does bot try to get fresh page, but not from cache? The related question: Do ...
5
votes
2answers
514 views

Do browsers send different HTTP headers on page reload so that server side caches can be flushed?

I'm implementing caching at the server application level, because my hosting doesn't provide Apache caching modules and it's not possible to use a reverse proxy there. Its cheap and fast hosting, so I ...
1
vote
0answers
29 views

rel="dns-prefetch" / rel="preconnect" vs far-future expiry headers...?

I've always been a big fan of far-futures expiry headers. First time visit on my site's homepage results in 40 HTTP requests, but a subsequent visit comes in at 1, with a response as snappy as you'd ...
1
vote
0answers
9 views

Storing session data between servers (and noob guidance) [closed]

First post here, I'm sure this information is somewhere on the web, but the problem is I'm such a noob I don't know what to search for. So, my problem is that I want to design a sign up API. Let's ...
4
votes
2answers
114 views

Is it bad for SEO to embed static sections of a page in a JavaScript file so that they can be cached?

Is it a bad idea to embed unimportant static HTML code in a JavaScript file? Could it harm SEO? For example, the footer or header HTML code is constant and those sections load for many different ...
0
votes
1answer
57 views

Firefox doesn't update cache of a downloadable zip file. Why?

I have a small website (hosted on a shared Linux/PHP server) where I allow users to download my software. It comes in a form of a ZIP file that people can download. I just noticed today after having ...
1
vote
0answers
96 views

How to allow Google fonts to be cached for more than one day?

I tried this code below, but I still see the message on Google Insights that the fonts have a expiration of 1d. AddType application/vnd.ms-fontobject .eot AddType application/x-font-ttf .ttf AddType ...
1
vote
0answers
34 views

Browsers load actual website from external server and keep in cache [closed]

So, currently, I'm using 000webhost to host my website, but they only allow 1000 MB to store all the files for my website, which IMO is a little small. So, what I want to accomplish is something like ...
2
votes
3answers
5k views

JavaScript and CSS cached and not updating not updating from WAMP server even though "view source" shows most recent file

I have a WAMP server with PHP 7.2.10. When I change a file, for example .css, the changes is not visible in browser. When I "view source" via my browser (Ctrl+U) I get the updated latest version of ...
0
votes
1answer
62 views

Cannot find where my site is being cached! [closed]

So I have a bit of experience as a web master, but am at my whits end trying to find out what is caching my site. I cannot see any updates I make for the life of me. What I've tried: Clear ...
3
votes
0answers
1k views

Disable caching for subdomain on Cloudflare?

How can I disable caching for a subdomain on Cloudflare but keep SSL?
1
vote
1answer
58 views

Accelerated mobile page(AMP) and password protected admin area, Can I combine both in single page?

Full site being migrating to AMP. I want to integrate admin functionality to AMP pages, like simple links for deleting content, and huge forms(not mobile friendly) for editing content. It will be ...
3
votes
1answer
89 views

Deleted posts don't seem to be completely removed

I asked a webmaster to remove some posts on his website where some pictures and content referring to me appeared. He removed pictures and content but they still appear as results on google search, and ...
2
votes
0answers
372 views

Local browser caching not working due to .htaccess rules

All the JavaScript files hosted from my server are not being cached - just those from 3rd party CDNs. The information on caching is bountiful, but I've been unable to create something that works. I'...
3
votes
1answer
72 views

How to find one of my accelerated mobile pages that is cached by Google already?

For AMP (Accelerated mobile pages) pages, I know about the API to find out if a URL is cached or not. However, I'm having trouble finding one that is cached. I need to find a cached AMP URL to ...

1
2 3 4 5 6