Static content generally refers to additional files or media that is delivered to browsers but not generated through the web application. Examples include images, script files, and stylesheets.
Questions tagged [static-content]
246 questions
0
votes
2 answers
Providing static data out of web application
I have two machines that will be an application server in each.
The machine X is dynamic sources. The machine Y is static sources.
Thus, the user is always connected to "x.com".
When he does one upload an image, I need to send this information to…

Neeryck
- 79
- 1
- 10
0
votes
1 answer
Serving static content from port 8080?
Is it a bad practice to serve JS (static content basically - css, js and images) on port 8080 instead of HTTP (80)? If so, why? If not, are there any advantages at all?

eozzy
- 66,048
- 104
- 272
- 428
0
votes
2 answers
404 with iis7 asp.mvc doc and pdf files in folder
I have got folder "binaries" in my web application. I would like to download pdf and doc (static ontent) files from that direcotory but when i try to get them i have got error 404.
I tried to set up static module for *.doc and *.pdf but it not…

marcinn
- 1,879
- 2
- 22
- 46
0
votes
1 answer
almost identical webapps behave differently in serving static content
I'm having a 'weird' issue in serving static content from my webapp using a Spring-Hibernate setup.
I have a (small) webapp that uses the DispatcherServlet to serve any url like this: /coverpage/* .The default servlet mapping is set to…

B.T.
- 132
- 2
- 15
0
votes
1 answer
Search in static pages
I have an ASP web application which has pages with static content as well as dynamic content(data from database). I want to implement a search feature in the site.I Can do this with the dynamic data easily by framing the select query based on the…

Shyju
- 214,206
- 104
- 411
- 497
0
votes
3 answers
Is there a way to implement a lock free static configuration data?
public class MyConfigurationData
{
public double[] Data1 { get; set; }
public double[] Data2 { get; set; }
}
public class MyClass
{
private static object SyncObject = new object();
private static MyConfigurationData = null;
private…

Imran
- 694
- 5
- 12
0
votes
2 answers
IIS 7.5 difference when querying css item from localhost and externally
After 4 hours of looking through stack overflow and searching Google I've finally decided to go check in with the "hopefully" gurus...
My problem is this, when querying from the local machine through remote desktop, querying for…
0
votes
1 answer
Apache, Nginx, and static content
There seems to be a consensus that Nginx serves static content faster than Apache. However, I'm not really sure what this means. For example, I have a script that generates an image only if the same image doesn't already exist in the cache. If it…

David Jones
- 10,117
- 28
- 91
- 139
0
votes
2 answers
Care to be taken when serving static content (JS, CSS, Media) from different domain?
Let me try to explain by example. Say website is hosted at example.com (NOT www.example.com). In order to serve static content cookie-free, I've chosen to use a different domain example-static.com.
Now, lets consider that my static content is…

its_me
- 10,998
- 25
- 82
- 130
0
votes
1 answer
Program to scrape a webpage into an index
I've been looking for a program to create an index from static webpages. I'm not looking for a program like Solr, or elasticsearch because both are assuming I will be interactively creating an index. I need something that can basically go to a url,…

Brandon Lile
- 65
- 1
- 10
0
votes
1 answer
Check a Liferay portal in Quantcast, Alexa and others
I have a portal in Internet, and I would like to register it in sites like Alexa, Quantcast and other similar sites for ranking and web analyzes.
However, in most of the cases I have to put an HTML file inside the portal, however I do not know how,…

AngocA
- 7,655
- 6
- 39
- 55
0
votes
1 answer
serving all static content of a website locally
I want to run a local server on which I can save all the static files of websites, when I run the website I want it to dynamically chaneg the urls to get static content from my server. Is there a firefox plugin or some other tool to do this easily?

anon
- 1,101
- 3
- 17
- 33
0
votes
1 answer
WymEditor static content loads multiple times
I am using django forms, and loading wysiwym editor in a page. The problem is that each form has 4 instances of wysiwym editors, and the page can have 10-30 such forms on an average.
{% for form in forms %}
- 1,295
- 2
- 17
- 32

Priyeshj
-1
votes
2 answers
How to enable folder level cache on IIS 7.5?
I have a virtual directory on IIS7.5, it has .mp4 files.
I want to enable caching at folder level, so that videos can play without buffering. Can the following "web.config" be used? I want to place the "Web.config" inside the folder.

One Developer
- 99
- 5
- 43
- 103
-1
votes
1 answer
Diffrent way of implementation security ends with the same error
I have implemented an application with combination Spring Boot and Angular 4. I put all Angular files under /resources/static directory:
static directory
Then I added to Spring Security…

Jan Testowy
- 649
- 3
- 13
- 32