/    Sign up×
Community /Pin to ProfileBookmark

Force refresh of text but not graphics

I have an embedded device that feeds web pages to allow users to monitor status of the device. I would like to force pages to reload each time they navigate to it. But I still want the browser to cache the graphics. Feeding these puts a large load on the device and can impair the devices ability to perform other, more critical, functions.

How can I force a page to reload without also forcing the graphics to reload?

to post a comment
HTML

1 Comments(s)

Copy linkTweet thisAlerts:
@rtretheweyNov 17.2012 — You can't 'reload' portions of a page. But you can use JavaScript/AJAX to write and continually rewrite the area where the device status information is displayed. Or you could have the data displayed in an <iframe> and add a <meta> refresh to the page being displayed in it. You just have to modify the software on the server so that it would output just that limited amount of data instead of a complete webpage. Either way it should be pretty simple.
×

Success!

Help @jimwilliams57 spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...