Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9308075
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 19, 20262026-06-19T00:32:26+00:00 2026-06-19T00:32:26+00:00

I am using node.js with https://github.com/visionmedia/connect-redis to store session variables in redis. I ran

  • 0

I am using node.js with https://github.com/visionmedia/connect-redis to store session variables in redis.

I ran redis-cli monitor and noticed that on a single page load, there are 3 sets of get and setex commands being executed. The 3 sets come from the 3 http requests made on my page load (favicon.ico, /, and index.css).

My question: Is it normal for a redis get and setex to run on every http request? Each pair contains identical data.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-19T00:32:27+00:00Added an answer on June 19, 2026 at 12:32 am

    The 3 HTTP gets that you are seeing are normal for a web application.

    You can set a very long expiration date on your favicon.ico so that the browser only requests it once.

    For static assets (i.e. CSS, JS, images) you can do the same or put them in a different domain (or subdomain)

    Be aware that if you put a very long expiration date on a CSS/JS file the browse will not request it again and you might run into weird “issues” in which you make a change to a CSS/JS file and the browser might not get the updated file. This is one of the reasons a lot of sites “version” their CSS files (e.g. styles-2013-02-17.css) so that they can use a different file name when a change is made.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am experiencing this problem with Node.js express framework 3.0: https://github.com/visionmedia/express/issues/1187 I've been using
Currently I'm using https://github.com/mranney/node_redis as my node redis client. client.retry_delay is set to 250ms
I'm successfully using Node.js + Express + Everyauth ( https://github.com/abelmartin/Express-And-Everyauth/blob/master/app.js ) to login to
I'm following https://github.com/joyent/node/wiki/Using-Eclipse-as-Node-Applications-Debugger and leaves me with questions How can I see what variables
I'm using the following library https://github.com/Leonidas-from-XIV/node-xml2js To convert XML to JSON. After conversion console.log
I am using bigDecimal.js: https://github.com/iriscouch/bigdecimal.js in my node.js project server side with no problems
How would one do a bulk insert into mySQL if using something like https://github.com/felixge/node-mysql
Currently I am using node-mysql (https://github.com/felixge/node-mysql) and for each result it returns from the
I am using node-mysql module ( https://github.com/felixge/node-mysql ) OR ( http://utahjs.com/2010/09/22/nodejs-and-mysql-introduction/ ) . Is
Here is how I've done: https://github.com/joyent/node/wiki/Using-Eclipse-as-Node-Applications-Debugger but in the image after Now start making

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.