Questions tagged [serving]

80 questions
12
votes
2 answers

Serve static files (JavaScript) with Struts 2

I want to put some JavaScript files in one of my packages and make Struts serve them like /struts/js/foo.js Struts does that for files in 'template' package (that's where jQuery plugin's files are located, guarded by struts.ui.templateDir option).…
alamar
  • 17,588
  • 2
  • 60
  • 89
9
votes
5 answers

Serve static files from archive

Is there a module for apache/nginx to serve static files from archive (zip, tgz, tbz …), so that if there is no file in specified location, then stated archive is asked for that file?
tig
  • 21,082
  • 10
  • 60
  • 93
9
votes
2 answers

How should one serve swagger from laravel?

I'm attempting to use swagger with laravel to automatically document our RESTful API. The goal is to keep the swagger comments in the laravel controllers and then have swagger parse the comments and generate the associated .json/.php files. Ideally,…
redgeoff
  • 2,675
  • 1
  • 20
  • 38
9
votes
3 answers

How to serve cloudstorage files using app engine SDK

In app engine I can serve cloudstorage files like a pdf using the default bucket of my application: http://storage.googleapis.com/.appspot.com/ But how can I serve local cloudstorage files in the SDK, without making use of a…
voscausa
  • 9,982
  • 2
  • 29
  • 55
8
votes
4 answers

Serving ads via HTTPS

I know there is no such thing as a dumb question but this is: Can you serve contextual based ads via adsense or others on a site that is entirely behind https?
nick
7
votes
2 answers

Will I be able to use CURL to get HTTP/2 headers?

Right now I use curl -I to retrieve headers. Will sites adopt a different way of serving headers with HPACK in the upcoming adoption of HTTP/2 by browsers that will render my use of the curl command ineffective?
Orun
  • 3,978
  • 3
  • 21
  • 40
7
votes
6 answers

How to check the scalability of my application

I have developed an application that will create lot of PDF's and serve those file. (Its normal Servlet-Buffering serving). How to make sure my application works efficient with multiple request? Is there any tool available to test the…
Niger
  • 3,646
  • 5
  • 26
  • 29
6
votes
3 answers

Separate servers to serve django app and it's content?

I'm a little confused as to how to proceed. I'm setting up Django to run on a Mediatemple DV server. I'm trying to figure out the appropriate setup for serving image/video/etc content. I don't quite understand what this means on…
pcpc33
  • 61
  • 2
6
votes
3 answers

Serving Keras Models With Tensorflow Serving

Right now we are successfully able to serve models using Tensorflow Serving. We have used following method to export the model and host it with Tensorflow Serving. ------------ For exporting ------------------ from…
Sumit Ghosh
  • 119
  • 2
  • 9
4
votes
0 answers

How to inference Tensorflow model with input queue pipeline?

I am struggling with my Tensorflow model. I have trained it using tf.PaddingFIFOQueue and then I mainly used this tutorial: https://blog.metaflow.fr/tensorflow-how-to-freeze-a-model-and-serve-it-with-a-python-api-d4f3596b3adc#.dykqbzqek, for…
adam13
  • 81
  • 4
4
votes
2 answers

Nginx: serving static files by URL path

Is there any way of serving static files by only some URL path? For example, next URL pattern http://host/static/*.png has /static/ substring (path), and Nginx will serve any statics from there. In the web server documentation I found an…
akrisanov
  • 3,072
  • 6
  • 30
  • 55
3
votes
0 answers

How to make REST API calls in kafka streams application/

The time-series data is being produced in a kafka topic. I need to read each record and decorate with some data from the database and eventually call a REST API. Once the response is received, output to a kafka topic. How can I do this with kafka…
Mac
  • 363
  • 3
  • 12
3
votes
1 answer

How to make assets available by absolute url while serving and after building with webpack?

I have a following output project structure: img ... portfolio masttech index.html index.html ... index.html And a following source project structure: components ... Portfolio img ... Masttech img ... …
shpindler
  • 183
  • 1
  • 11
3
votes
1 answer

bazel build tensorflow serving using with local downloaded tensorflow

the tensorflow serving build denpend on large tensorflow; but i already build tensorflow successfully. so i want to use it. I do these things: I change the tensorflow serving WORKSPACE(org:…
3
votes
1 answer

How do I export a graph to Tensorflow Serving so that the input is b64?

I have a Keras graph with a float32 tensor of shape (?, 224, 224, 3) that I want to export to Tensorflow Serving, in order to make predictions with RESTful. Problem is that I cannot input tensors, but encoded b64 strings, as that is a limitation of…
user3337758
  • 115
  • 1
  • 11
1
2 3 4 5 6