Static-files are ones that don't get amended during runtime. This could be a HTML file that's served up by a web server.
Questions tagged [static-files]
769 questions
0
votes
2 answers
Django: Static content on very small scale website
I'm working on a very small scale website for my school (less than 100 users a day) and was wondering if there was a way too store static files on the django server instead of deploying a second server to manage static files. Google searches turn up…

sinθ
- 11,093
- 25
- 85
- 121
0
votes
1 answer
Serving static files on top of mod_wsgi and dJango (server: Heroku)
I'm having trouble serving static files through my web server running mod_wsgi and dJango. Our server provider is Heroku.
Because the files are static, and should not be evaluated, I've heard that they should be served directly instead of going…

Chris Dutrow
- 48,402
- 65
- 188
- 258
0
votes
2 answers
In Rails, how can I force update the client's js/css files?
When I use javascript_include_tag or stylesheet_link_tag to include files, they have a number at the end to make it easier to circumvent browser caching (update the file without changing the number, the browser still uses the cached version; change…

dipnlik
- 378
- 4
- 13
0
votes
2 answers
Using htaccess to bundle a bunch of files into a single one
Say you have a css files loader style.php:
Style1.css has 12KB,…

Silviu-Marian
- 10,565
- 6
- 50
- 72
-1
votes
3 answers
How to copy image file from my desktop to docker container
I have a profile page in my app which I am migrating to docker. I want to have a default profile picture for user who don't upload any picture for that I need to store that picture in my container.
I have my default profile pic stored at…
-1
votes
1 answer
CORS wont allow serving static files on apache2 server
I have an express server that allows the front end to get information from the database it works fine. Cors is set up with the front end whitelisted but, trying to get an image (that has already been uploaded and saved) comes back with nothing…

SEVO
- 31
- 1
- 7
-1
votes
1 answer
Express isn't serving my static files when on a certain page
Express serves my static files just fine when I'm on my "/" and "/home" page, however when I go to "/home/download" my files are no longer served. Im using EJS to render my pages.
router.get("/download", isAuthed, (req, res) => {
…

Maloni
- 27
- 4
-1
votes
1 answer
Nginx return a file matched by four aliases
I am trying to serve a react app with nginx, and the browser downloads build/index.html which is accessed by aliases /app/room/main, /app/room/create, etc (it is necessary as the app's state depends on URL). How to serve this one file by many…

Kacper Kwaśny
- 92
- 3
- 7
-1
votes
1 answer
Extra folder won't display in browser's sources page (From Flask webapp static file)
I'm trying to implement a flask website where there will be music playing. The audio folder doesn't "upload" (I'm not sure if it's the correct term, that's also part of my problem) to the browser. It doesn't seem like the html pages have access to…

Julien Audet
- 24
- 5
-1
votes
1 answer
How to Preload the Next Page of a Website into the Browser
I am looking to implement special functionality for my website, where loading a page that has multiple other consecutive pages (such as a search result) pre-loads the next page into the browser, accessible via the "forward" button. This sort of…

Alex Fanat
- 748
- 10
- 22
-1
votes
1 answer
How to correct Django server from loading basic html on web browser instead of standard html?
How can I correct the basic html display I get when I load the Django admin page, just as shown in the snapshot attached?

Bright192
- 11
- 1
-1
votes
1 answer
Android app backend design
I have experience handling with database and web services such an API.
Now, my idea is to have some images stored on the server and in-app the user can list/view all of them and then choose one to customize.
After some research on the subject I…

Cátia Azevedo
- 105
- 11
-1
votes
2 answers
Spark static file not displaying
I am currently using spark as a web framework for a project I am working on. It was working correctly and displaying the html page in the public folder but I was having a problem with localhost:4567 not loading the most recent update to the website.…

Adam Pettitt
- 1
- 1
-1
votes
2 answers
how make static files (.css, .js) in node.js (only node.js)
Question, I'm working on a node.js app. simple no single application. I Have something done in the app.js file.. but the node.js not loading my .css files and .js files.
I have fixed it with the but the .css and .js files does
not loading i get…

spaceody
- 11
- 3
-2
votes
1 answer
STATIC CONTENTS DOESNT DISPLAYING EVEN AFTER LOADING IT IN DJANGO
Html code of the program i have collected static files and stored it in ASSET and gave load static in every img and a tags but still didnt able to get the static files in browser
{% load static %}