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 8047525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T06:07:49+00:00 2026-06-05T06:07:49+00:00

I am working on a Django 1.3.1 website which is highly dynamic by nature.

  • 0

I am working on a Django 1.3.1 website which is highly dynamic by nature. On many pages certain elements have to be refreshed each 10-20 seconds. We use AJAX requests for this.

Now, on the backend side each AJAX is handled by executing a DB query or possibly from cache (I expect 95% times it’s going to be from cache). We are thinking to change the method to instead put the updates to some files served by the web server. Then instead of hitting Django, AJAX would be handled by just serving the file. Backend would take care of updating the files if it’s necessary (those files are very small; a couple of numbers).

Have anyone tried something like this? What possible drawbacks can you see (arising for instance from concurrent read/write file access)? Is it likely to gain some performance from this approach?

  • 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-05T06:07:50+00:00Added an answer on June 5, 2026 at 6:07 am

    Why do you want to put frequently used data from DB to static file.If you want to render it fast take a look at MEMCAHED…I think this will satisfy you. Link below:

    MEMCAHCED

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

Sidebar

Related Questions

I'm working on a website which uses Django templates, and I have to produce
I have a website I've built in django that I'm trying to get working
I am working on a django website which also allows users to sign in
I am working on creating a website in Django which consists of two parts:
I'm working on a soccer league management website using Django. Among others, I have
We are working on a django website in which we want to give users
I'm working on a Django website where I have various compilation programs that need
I am working on a django recipe website and one of the pages is
I am working on a cookbook website using django and have run into a
I come from a java background, but I'm working on a django-based website. To

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.