How do I NOT update a displayed image when it is changed on the backend? Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Data science time! April 2019 and salary with experience The Ask Question Wizard is Live!How to force a web browser NOT to cache imagesHow to change an element's class with JavaScript?When to use IMG vs. CSS background-image?Changing the image source using jQueryHow do I give text or an image a transparent background using CSS?How do I auto-resize an image to fit a 'div' container?How to vertically align an image inside a div?How to display Base64 images in HTML?Rendering Image without postback in MVC from cacheChanging image size in Markdown
Married in secret, can marital status in passport be changed at a later date?
Will I have to go through TSA security when I return to the US after preclearance in Atlanta?
Why doesn't the university give past final exams' answers?
How would it unbalance gameplay to rule that Weapon Master allows for picking a fighting style?
The 'gros' functor from schemes into (strictly) locally ringed topoi
Why do owned slices take 16 bytes in rust? (on x64 machine)
`FindRoot [ ]`::jsing: Encountered a singular Jacobian at a point...WHY
TV series episode where humans nuke aliens before decrypting their message that states they come in peace
Preserving file and folder permissions with rsync
France's Public Holidays' Puzzle
Why isn't everyone flabbergasted about Bran's "gift"?
Can gravitational waves pass through a black hole?
How was Lagrange appointed professor of mathematics so early?
Could a cockatrice have parasitic embryos?
/bin/ls sorts differently than just ls
Why did Israel vote against lifting the American embargo on Cuba?
What's the difference between using dependency injection with a container and using a service locator?
Is Bran literally the world's memory?
Like totally amazing interchangeable sister outfit accessory swapping or whatever
My admission is revoked after accepting the admission offer
Is there a possibility to generate a list dynamically in Latex?
What is ls Largest Number Formed by only moving two sticks in 508?
Is there an efficient way for synchronising audio events real-time with LEDs using an MCU?
What do you call an IPA symbol that lacks a name (e.g. ɲ)?
How do I NOT update a displayed image when it is changed on the backend?
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Data science time! April 2019 and salary with experience
The Ask Question Wizard is Live!How to force a web browser NOT to cache imagesHow to change an element's class with JavaScript?When to use IMG vs. CSS background-image?Changing the image source using jQueryHow do I give text or an image a transparent background using CSS?How do I auto-resize an image to fit a 'div' container?How to vertically align an image inside a div?How to display Base64 images in HTML?Rendering Image without postback in MVC from cacheChanging image size in Markdown
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;
I'm looking for a way for my website to not change the image displayed to the user when the image is changed on the backend (assuming they do not refresh the page). Is there an easy way to do this?
Context/more detail:
I'm designing a plotting utility to be used by students which should display an image made based on their entered data (through a form fed to a PHP script).
However, they may be using this tool simultaneously, and if another student makes a plot, the first student's plot will be overwritten, even if they don't refresh the page.
I would like to make this not occur, so students can "keep" their plots. But, all my searching yields ways to force a refresh, not to force NOT refreshing.
The page in question is HTML (mostly a PHP script that takes their data inputs from a form and makes an image of it, and then the image tag).
Is there some sort of standard solution that I (as a non-web-developer) could easily implement?
(Also, since they are repeatedly making plots, I would prefer to do this without caching their old plots.)
html image caching
add a comment |
I'm looking for a way for my website to not change the image displayed to the user when the image is changed on the backend (assuming they do not refresh the page). Is there an easy way to do this?
Context/more detail:
I'm designing a plotting utility to be used by students which should display an image made based on their entered data (through a form fed to a PHP script).
However, they may be using this tool simultaneously, and if another student makes a plot, the first student's plot will be overwritten, even if they don't refresh the page.
I would like to make this not occur, so students can "keep" their plots. But, all my searching yields ways to force a refresh, not to force NOT refreshing.
The page in question is HTML (mostly a PHP script that takes their data inputs from a form and makes an image of it, and then the image tag).
Is there some sort of standard solution that I (as a non-web-developer) could easily implement?
(Also, since they are repeatedly making plots, I would prefer to do this without caching their old plots.)
html image caching
The actual tool is available here, if that'd be helpful: phylabs1.physics.sunysb.edu/~physlab/PlottingTool/…
– Aaron Dunbrack
Mar 9 at 4:32
add a comment |
I'm looking for a way for my website to not change the image displayed to the user when the image is changed on the backend (assuming they do not refresh the page). Is there an easy way to do this?
Context/more detail:
I'm designing a plotting utility to be used by students which should display an image made based on their entered data (through a form fed to a PHP script).
However, they may be using this tool simultaneously, and if another student makes a plot, the first student's plot will be overwritten, even if they don't refresh the page.
I would like to make this not occur, so students can "keep" their plots. But, all my searching yields ways to force a refresh, not to force NOT refreshing.
The page in question is HTML (mostly a PHP script that takes their data inputs from a form and makes an image of it, and then the image tag).
Is there some sort of standard solution that I (as a non-web-developer) could easily implement?
(Also, since they are repeatedly making plots, I would prefer to do this without caching their old plots.)
html image caching
I'm looking for a way for my website to not change the image displayed to the user when the image is changed on the backend (assuming they do not refresh the page). Is there an easy way to do this?
Context/more detail:
I'm designing a plotting utility to be used by students which should display an image made based on their entered data (through a form fed to a PHP script).
However, they may be using this tool simultaneously, and if another student makes a plot, the first student's plot will be overwritten, even if they don't refresh the page.
I would like to make this not occur, so students can "keep" their plots. But, all my searching yields ways to force a refresh, not to force NOT refreshing.
The page in question is HTML (mostly a PHP script that takes their data inputs from a form and makes an image of it, and then the image tag).
Is there some sort of standard solution that I (as a non-web-developer) could easily implement?
(Also, since they are repeatedly making plots, I would prefer to do this without caching their old plots.)
html image caching
html image caching
asked Mar 9 at 4:28
Aaron DunbrackAaron Dunbrack
61
61
The actual tool is available here, if that'd be helpful: phylabs1.physics.sunysb.edu/~physlab/PlottingTool/…
– Aaron Dunbrack
Mar 9 at 4:32
add a comment |
The actual tool is available here, if that'd be helpful: phylabs1.physics.sunysb.edu/~physlab/PlottingTool/…
– Aaron Dunbrack
Mar 9 at 4:32
The actual tool is available here, if that'd be helpful: phylabs1.physics.sunysb.edu/~physlab/PlottingTool/…
– Aaron Dunbrack
Mar 9 at 4:32
The actual tool is available here, if that'd be helpful: phylabs1.physics.sunysb.edu/~physlab/PlottingTool/…
– Aaron Dunbrack
Mar 9 at 4:32
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ifUsing("editor", function ()
StackExchange.using("externalEditor", function ()
StackExchange.using("snippets", function ()
StackExchange.snippets.init();
);
);
, "code-snippets");
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "1"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55073987%2fhow-do-i-not-update-a-displayed-image-when-it-is-changed-on-the-backend%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55073987%2fhow-do-i-not-update-a-displayed-image-when-it-is-changed-on-the-backend%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
The actual tool is available here, if that'd be helpful: phylabs1.physics.sunysb.edu/~physlab/PlottingTool/…
– Aaron Dunbrack
Mar 9 at 4:32