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

  • Home
  • SEARCH
  • 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 8737165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T10:27:18+00:00 2026-06-13T10:27:18+00:00

The website I’m working on allows users to delete documents. Because it uses ajax,

  • 0

The website I’m working on allows users to delete documents. Because it uses ajax, a dialogue pops up when you click the delete button, then requiring you to hit confirm. The plug-in I use for the dialogue then calls a function which should first send the ajax request and then reload the page.

For some reason, the page never truly reloads. It seems to be getting data from the cache. I have tried all the solutions I could find online and on stack overflow, but none of them force it to refresh. Does anyone have an idea how I can fix this?

  • 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-13T10:27:20+00:00Added an answer on June 13, 2026 at 10:27 am

    There is very little details here to work from, so I will guess.

    Plugin is not using window.location.reload() but it just sets window location to some url with window.location = '/somepath' that has already been fetched.
    Make sure that the url it’s loading returns no-cache headers from server side and no ETag headers.

    Cache-Control: no-cache
    Expires:  <time that is in past>
    

    Alternative change the plugin to add some random parameter on the url

    window.location = '/somepath?=' + (+new Date());
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My website has a sponsorship system that allows users to invite friends by email
My website allows users to record bids. Each bid is saved individually and associated
My website uses ajax and hashtags for every part of the navigation, so every
Website: http://ghostpool.com/wordpress/slide/ If you click the + button in the bottom left corner to
my website in www.codtelevision.com/live Click the link. For some reason, the page expands, then
My website images look blurry for users with retina displays. (For example, on the
A website I've been working on will not match data using a PHP (preg_match)
My website contains a dropdownlist which isn't clickable in IE9. You can click on
The website I'm currently working on is supposed to be in multiple languages (4
My website's menu has text images for each button instead of pure text. When

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.