Questions tagged [static-content]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
0answers
20 views

New IIS install suddenly giving 500 error on basic static web site

I maintain a basic static website for personal use, and since my ISP stopped hosting it several years ago, I've run it off of my home computer. I just put in a new SSD this week, and installed Windows ...
2
votes
1answer
45 views

SEO on GitLab/GitHub Pages

GitLab/GitHub pages are excellent ways to host static (or SPA) application especially because the code and deployment resides in the same place. However, does the use of GitLab/GitHub pages instead of ...
0
votes
0answers
25 views

Static pages with content only and dynamic header added by client JS

As we know, static html pages are best because of their high speed, security and low cost of maintenance. If we have already have a website with thousands of statically generated pages and edit for ...
2
votes
1answer
21 views

Is it possible to have a site that uses WordPress with some pages that don't

I am redoing an old static html site in WordPress and that's all fine, but there is a section of the site that is in a subdirectory that would be fine to keep the static html. I am building the ...
1
vote
1answer
248 views

Can I have a cookie-less subdomain, if main website is on root domain but does not set any cookies?

Lets say I have a static website at example.com, it does not set any cookies. I have tracking on stats.example.com and a git server on git.example.com - both of which do set cookies. Static assets ...
1
vote
1answer
3k views

Using the Internet Archive’s Wayback Machine as a CDN

Can the Internet Archive’s Wayback Machine be used as a content-distribution network (CDN)? Aside from the moral problem of stealing bandwidth from an organization I love, would serving a unique file ...
2
votes
0answers
117 views

How get download stats in Matomo analytics for static content that's served by my CDN (Cloudflare)?

I'm considering enabling Cloudflare for my site, which will make it so that static content is loaded from their servers instead of mine. If that's the case, how can I tally the request in our ...
0
votes
1answer
135 views

What if to load duplicated blocks e.g. header and footer by JS

If we use static site generators (SSG) and edit some block duplicated on many pages e.g. header or footer, we need to regenerate all the HTML pages using this block. Regardless of the speed of our SSG,...
5
votes
1answer
681 views

Will it hurt SEO to remove the '.html' extension from static pages such that they get served as 'text/x-generic'?

If we want to go with static website, we generate static html files of pages with names like contacts.html and we may add to our .htaccess file the lines like RewriteEngine On RewriteRule ^(([^/]+/)*[...
0
votes
1answer
27 views

How to replace thousands of old JS ad tags in a directory full of static html? [closed]

We're taking over another company's website and we plan on creating an archived version of their old site using wget to mirror the site into an archive.example.com website. Since there are several ...
1
vote
1answer
208 views

Will disabling javascript be considered as cloaking by Google

There is a site with dynamic content generation (angular). Google is not indexing it well. But it is indexed well with static pages (same content). Static pages are not fast because of page reloading ...
2
votes
1answer
41 views

What should I do with old (project) websites / historic content?

I have a few old websites with some nice content, artist projects. Not relevant for business but quite interesting in a historical way. My feeling says it would be not enought to keep the page alive, ...
1
vote
0answers
44 views

What are the benefits, if any, of redirecting a blog/product category page to a static page?

When it comes to organising a website's layout, I see a lot of resources advising to redirect blog/product category pages to static pages. This static page then becoming the 'parent category' for the ...
0
votes
0answers
36 views

How to update a website's homepage to use a static AWS S3 site just for the homepage

I have developed the browser based game over at http://ninjawars.net. Currently, the game site homepage is essentially like a single-page app, it is a php backed homepage with an iframe, links to ...
1
vote
0answers
26 views

“Site unreachable” when using asset parallelization with Cloudflare CDN [closed]

I use WordPress site with CDN (Cloudflare). I want to serve static files(images, js, and css) from a different static cookieless domain. I create subdomains in my DNS, but I can't add images or ...
2
votes
1answer
54 views

404 page on a static decommissioned webpage

We have decommissioned an old website and replaced the homepage with a similar static page stating that the offer is no longer available. We are returning the homepage with a 200 header if navigated ...
2
votes
1answer
87 views

Static HTML to CMS: Same URL structure do I need 301 redirect?

I am transferring a website over from static to CMS and the new CMS will have the same URL structure. Do I need to do any 301 redirects or anything else so I don't impact current ranking. Also if I do ...
2
votes
1answer
208 views

How to debug a non working https setup that uses Amazon S3, route53, Cloudfront?

I am setting up a static site with the following: content hosted on S3 (central Europe region) with a custom domain Cloudfront with https route53 for DNS setup redirect http to https redirect www to ...
1
vote
1answer
36 views

Copyright years for page source and page content

My question concerns the difference between the source code of an HTML/CSS/JavaScript file and the content actually displayed by those files in the browser. I've been thinking about using a copyright ...
3
votes
1answer
2k views

What is the 'right way' to serve static content from my AWS S3 bucket on my ElasticBeanstalk deployment?

I've hosted a small PHP environment on AWS ElasticBeanstalk. The static content (.css, .js, .jpg files etc) is inaccessible directly from ElasticBeanstalk, and must come from another source. I've ...
1
vote
1answer
432 views

Is it possible to have CloudFlare cache static files, but only serve them to specific users?

I want to use CloudFlare as a CDN to cache and serve a static file in order to reduce the load on my server, however, the catch is that I only want this file to be served to paid users since it's an ...
0
votes
1answer
126 views

Managing (routing between) two separate servers in the same web app

I am building a website, where the landing page and some other content is based on node, express, angular2 etc. I want to have a subdomain (blog.mydomain.com) which runs Hexo. On my development ...
4
votes
2answers
1k views

Set up a wiki in watch mode with Hugo static site generator?

In the midst of porting an all HTML site to the Hugo static site generator, my boss asked me to add a wiki to the site. The turn around time on this port + addition of a wiki is somewhat short (about ...
0
votes
1answer
49 views

Can generating static links via javascript be legal and recognized?

I have a page of photo thumbnails on my site. On the page, a large number of links are grouped together consecutively, and the links take up at least 1/2 the HTML code size. Here's an example: <...
2
votes
2answers
1k views

How to force a 302 redirect to index.html when hosting on S3?

I've found that the following two URLs will show the same content: http://example.com/blog/ http://example.com/blog/index.html In the case of the first URL, it appears to pick up the index.html from ...
2
votes
2answers
583 views

Is having a static homepage harmful for my SEO?

My homepage is a static page, not a page showing latest posts. Is this harmful for my SEO?
11
votes
1answer
1k views

If I only serve gzipped version of my content, should I add the vary accept encoding header?

I just moved a static site from a VPS to Amazon S3. I have decided to serve only gzipped version of my pages, since S3 is not a webserver I can't have logic based on headers. I also use Cloudfront as ...
1
vote
1answer
103 views

Configuring the document root on a cookieless domain

I am configuring a cookieless domain for all my static content, I see a lot of articles and how-to's use the same document root for as their main domain. Why? This seems like a disadvantage to me, ...
1
vote
1answer
129 views

Is it advisable for SEO to use dynamic pages when static pages can be used?

I am creating a website with around 5 static pages of content and 2-3 dynamic pages for products. The page names for these are product1.asp, product2.asp, and product3.asp. The pages would retrieve ...
1
vote
2answers
3k views

Static vs dynamic website search engine results

I am mobile software developer and I want to create a website like this one. I will have static webpages not dynamic ones (homepage, jobs, about, contact...). When people search on Google with this ...
1
vote
0answers
18 views

Hosting of static content without server, only through CDN [duplicate]

My content is fully static, using only HTML, CSS, JS. It's only one page, which needs to load really fast from any country, and should be online for only 3 months. I already have the domain name. I ...
1
vote
1answer
48 views

What happens when overwriting a static file?

Say you've got a purely static website. It's popular so people are often visiting your index.html. What happens when you use your ftp client to overwrite the file? Will people ever see any odd results?...
1
vote
1answer
162 views

Are the websites hosted on Github restricted to programming?

I was searching about static hosting and I found blog posts talking about hosting their blog on Github, the hosting feature of Github seems pretty good, what I want to know is what type of websites ...
1
vote
1answer
117 views

SEO consideration for downloadable files

I used to serve PDF files as static file: http://domain.com/pdf/file1.pdf and PDF files perfectly indexed by Google and other search engines. Then I decided to change my structure to place pdf files ...
3
votes
1answer
226 views

Should fonts be served from a cookieless subdomain?

Why is it that that nobody ever mentions serving fonts over a cookieless (sub)domain? Is it because you have to white-list your primary domain with Access-Control-Allow-Origin for font files? I'm ...
1
vote
1answer
241 views

Web-based interface for a static CMS [closed]

I would like to have a static CMS, but I need a web interface for the editor. The editor can be a php/python/ruby app hosted off my computer for when I need to edit.
0
votes
1answer
96 views

Should I add some new texts in the existing page or make a new page for them?

I'm going to add new content about Paypal campaign on my site. But its content is not that big enough for a page(50 -100 words). And I'm wondering if I should add it to the existing related page (e.g. ...
2
votes
2answers
818 views

Is there a modern (eg NoSQL) web analytics solution based on log files?

I have been using Awstats for many years to process my log files. But I am missing many possibilities (like cross-domain reports) and I hate being stuck with extra fields I created years ago. Anyway,...
1
vote
1answer
2k views

A WSGI-configured Apache does not serve images from /static or /media (Django), returns 403

I have set up an Apache server with WSGI/Django on it, and everything works fine -- html, css -- but when I try to request an image file, like png, it returns 403 Forbidden. The configuration is as ...
0
votes
1answer
268 views

Static page generator quazi CMS

Are there some mainstream software packages that generate static pages? Sort of like CMS, but without all the fluffy parts. I'm perfectly fine with editing pages using a text editor, but I would like ...
44
votes
5answers
11k views

Why do big sites host their images/css on external domains?

Why do sites like Facebook, Twitter, and Google host their images and css on external domains such as: Facebook: static.ak.fbcdn.net Twitter: a0.twimg.com Google: ssl.gstatic.com Question(s): Is is ...
4
votes
2answers
1k views

Google Analytics setting cookies on static content despite being on entirely separate domain

I recently decided to comply with the YSlow recommendation that static content is hosted on a cookieless domain. As I already use the root of my domain (donaldjenkins.com) to host my website—on which ...
5
votes
1answer
857 views

How can I version-control and deploy a website's static files while preserving timestamps?

I'm using NanoBlogger to generate a website that consists entirely of static files—no PHP or anything similar. I'd like to place the site under version control, which means managing both NanoBlogger'...
7
votes
1answer
104 views

How do I schedule content publication on a static site?

How do I schedule the publication of new content (in this case, press releases) on my static site? I am using FTP (FileZilla) on Windows 7 to do the job manually. I am assuming there are some FTP ...
5
votes
1answer
3k views

How should I reference precompressed versions of static files hosted with Amazon's S3?

I have a website that serves static assets (CSS, JavaScript, images) directly from Amazon's S3. As far as I know S3 does not support gzip even when browsers accept it. What problems might arise if ...
6
votes
5answers
183 views

Is there a good tool for HTML content generation by less technical stakeholders?

I am the webmaster and everything else technical for a tiny startup company. Some static content is being written in MS-Word by stakeholders. What is the best process to get HTML content instead? ...
4
votes
1answer
513 views

Google Analytics on Static Site Hosted by GAE

I finagled hosting a static site on Google App Engine at http://corbyhaas.com The HTML when visiting the URL shows some meta information and a frame to the site's actual address: http://cody-static-...
3
votes
1answer
5k 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, ...
17
votes
3answers
6k views

How do Github Pages fare for serving static files?

I have a site that is composed only of static files. I just discovered how easy it is to host websites directly off Github. Any idea how do they fare in terms of latency, reliability, capacity...? ...
4
votes
1answer
1k views

Optimal GZIP compression level for static resources?

Is there a compression level which will provide an optimal balance between file size reduction and client decompression time/cost? I was wondering which GZIP compression level provided the best ...