Cache problem

Talk about code development, features, specific bugs, enhancements, patches, and similar things.
Forum rules
Please keep everything here strictly on-topic.
This board is meant for Pale Moon source code development related subjects only like code snippets, patches, specific bugs, git, the repositories, etc.

This is not for tech support! Please do not post tech support questions in the "Development" board!
Please make sure not to use this board for support questions. Please post issues with specific websites, extensions, etc. in the relevant boards for those topics.

Please keep things on-topic as this forum will be used for reference for Pale Moon development. Expect topics that aren't relevant as such to be moved or deleted.
pmBill

Cache problem

Unread post by pmBill » 2020-02-11, 18:43

Some of my website pages and SOME the contents therein "randomly" occasionally stopped displaying correctly,
I think after the v28.8.1 (2020-01-11) update. (or maybe the one after that)

I thought my files were somehow being corrupted on my server.
But it ended up being corrected by clearing the cache.
I checked the pages on a few other browsers and they displayed correctly.

It's happened several times now, on various websites and pages.
Originally I uploaded images that wouldn't show or style sheets or PHP/HTML files.
That fixed the problem, but when I contacted my server support, they suggested the clear cache thing.

This has never happened before until recently.

Clearing my cache is a HUGE pain in the ass because it forgets all of my logins and such.
And "ideally" it shouldn't be required.

I hope this is enough info that someone can figure out what is going on and fix it.

Windows 10 Pro up-to-date.
Most recent Pale Moon version.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35648
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: Cache problem

Unread post by Moonchild » 2020-02-11, 18:58

pmBill wrote:
2020-02-11, 18:43
But it ended up being corrected by clearing the cache.
I checked the pages on a few other browsers and they displayed correctly.
This is usually a case of the server setting an expiry on certain types of files. The browser simply honors it.
pmBill wrote:
2020-02-11, 18:43
Clearing my cache is a HUGE pain in the ass because it forgets all of my logins and such.
And "ideally" it shouldn't be required.
Clearing your cache will not forget your logins. If that happens then you are not clearing your cache but doing something else.
Also, one thing you can always do is refreshing the page with a "hard refresh" by pressing Ctrl+F5. That will force a re-fetch of the entire page and all resources on it, bypassing cache for that request. If there are too long duration expiry headers set by the server, those will then also be bypassed and give you a fully freshly fetched page.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

pmBill

Re: Cache problem

Unread post by pmBill » 2020-02-11, 19:16

Doesn't clearing the cache also clear the cookies?
There used to be a separate thing for cache and cookies and now there is no "clear cookies" that I can see.
That is what kills the logins. (afaik)

I have this on my pages, which SHOULD prevent the problem, theoretically.

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

<html lang="en" xmlns="http://www.w3.org/1999/xhtml">

<head profile="http://gmpg.org/xfn/11">

<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="content-language" content="en">

<meta http-equiv="expires" content="0">
<meta http-equiv="Cache-Control" content="no-cache">
Again, is is ONLY HAPPENING with Pale Moon, NONE of the other browsers I tried.
(Firefox, Chrome, Opera, MS Edge, & MSIE)

That "suggests" it is a Pale Moon problem, NOT a server issue.
AND it only began happening "a few weeks ago" or so.
Before that, for YEARS, there was never a problem.

User avatar
rabnbeinn
Lunatic
Lunatic
Posts: 350
Joined: 2011-11-18, 20:38
Location: Scotland

Re: Cache problem

Unread post by rabnbeinn » 2020-02-11, 19:34

pmBill wrote:
2020-02-11, 19:16
There used to be a separate thing for cache and cookies and now there is no "clear cookies" that I can see.
Image

pmBill

Re: Cache problem

Unread post by pmBill » 2020-02-12, 03:07

I think mine used to look like that.
Maybe you have an old version of PM.
Or maybe I'm looking in the wrong place.
You do not have the required permissions to view the files attached to this post.

User avatar
rabnbeinn
Lunatic
Lunatic
Posts: 350
Joined: 2011-11-18, 20:38
Location: Scotland

Re: Cache problem

Unread post by rabnbeinn » 2020-02-12, 05:38

Pale Moon menu >>> History >>> Clear Recent History

or

ctrl+shift+delete

pmBill

Re: Cache problem

Unread post by pmBill » 2020-02-12, 23:03

I don't think you want to Clear Recent History, unless that's what you want to do.