Top "Static-files" questions

Static-files are ones that don't get amended during runtime.

Static files won't load when out of debug in Django

I'm creating a Django project. I just tried taking the project out of debug, DEBUG = False and for some reason …

django debugging static-files django-static
Leverage browser caching with web.config in .net?

Some of sites are on shared hosting (Windows 2003 Server), so I have no way to access server configuration. I read …

.net web-config browser-cache static-files
Flask static file Cache-Control

I'm trying to set a reasonable cache expiry for my JS files while in development. I have the standard setup, …

python flask cache-control static-files
Tomcat can't see newly created static files and is server-side caching the old files

I use Tomcat 7 on Windows XP. I have a directory with static files (HTML, CSS, JS) in %TOMCATDIR%/webapps/myapplication. …

tomcat tomcat7 static-files
Loop through all files/images in a folder with Angular

I have an app with some products and each product has a gallery with a different amount of images. Each …

javascript node.js angular typescript static-files
Start an apache server in any directory from command line

I want to be able to start an apache server from the command line, typing something like apache site-folder or …

apache command-line-interface static-files static-site staticfilehandler
With Flask, how can I serve robots.txt and sitemap.xml as static files?

I've read on quiet a few places that serving static files should be left to the server, for example in …

python flask static-files
Is it possible to using Image.getSize with static image file?

I want to use Image.getSize (https://facebook.github.io/react-native/docs/image.html) to get the size of my …

image react-native static-files
Getting Nginx to serve static files from several sources

I have a Nginx config that works fine and serves static files properly: location /static/ { alias /tmp/static/; expires 30d; …

nginx static-files
Relative Path for static files like images/css/js etc

I have folder structure of /src/app/some-module/some-component and src/public/images/user.png. Now, when I am wiling …

css image angular angular2-routing static-files