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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T09:08:24+00:00 2026-05-30T09:08:24+00:00

I have a site, which requests data from a SQL DB, from different rows,

  • 0

I have a site, which requests data from a SQL DB, from different rows, in different tables on each pageview.

I’m planning to just save all the data as temporary cache in cookies (with JSON) on the first pageview, so things work out allot faster (no more querying).

Haven’t completely thought it out yet, but I’m just planning on throwing it all in an array, JSON decoding it, throwing it in a cookie and then pulling it back up when needed.

What concerns me is the possibility of issues that could encounter, when storing large cookies on the client side.

Do you guys think this is a good idea, or a stupid one?

If its stupid, any alternatives?

  • 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-05-30T09:08:25+00:00Added an answer on May 30, 2026 at 9:08 am

    consider using APC or Memcachced

    These are capable of storing large data and are faster to access.

    Using Cookies has several drawbacks other than its size limit. On every page request, the cookies are send back to server, thus, increasing your tranfer data/traffic, and request becomes heavier. The reason why a CDN concept came to picture, to prevent cookies transfers.

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

Sidebar

Related Questions

I have a web site which I download 2-3 MB of raw data from
I have this code, which contains a BufferedReader and reads the HTML data from
I have a web site which uses one SQL database but the hosting company
I have a jquery script that collects data from different sites and saves it
I have a site which needs to be fully self-contained in the browser window,
I have a site which relies heavily on javaScript. I created a mirror site,
I have a site which I want to download using Unix wget . If
I currently have a site which uses a MySQL 4.x schema, the site uses
Here's the setup. I have web site which is essentially a simple CMS. Here
I am relatively new to mod_rewrite, but have a site which I would like

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.