In the top right social media widget on this page
there is a link to a pdf file titled CURRENT ROAD REPORT.
This pdf is updated hourly 24 hours a day and it keeps the same URL.
Is there a way to stop browsers caching this download link?
Just add a dynamic get-parameter (e.g. a timestamp) to the link to bypass any cache. In PHP this could be done like this:
link
If you have access to the server that delivers the file you could also define the specific cache information through the webserver.
Related
I am using Osclass open source script for my classified ads website.
Since OSClass.org is down and OSClass market is closed my website site oc-admin speed is very slow, sometime oc-admin takes more than 40 seconds to login. Similarly oc-admin dashboard loads very slow.
What are causes of these issues and what should I do to get rid of these?
Github url is
https://github.com/osclass/Osclass
For security concerns I cannot put url of my website here.
I think this link solve your problem.
https://www.valueweb.gr/forums/osclass/for-osclass-3-8-remove-all-your-website-dependencies-from-osclass-org/
Blockquote
Stripped/nulled all Market connections and admin dashboard visuals from Osclass 3.8.
Here are the changed files only to remove Market connections. The structure is kept for your convenience. You just upload the two folders to replace 12 files.
If you prefer to do it manually here is the documentation:
https://docs.osclasscommunity.com/removing-market/introduction
Attachment: Osclass_380_Stripped_from_Market.zip
There is a web page with tracking pixels (and probably other tracking code) that I would like to move to my own server. Viewing the page on the current server generates a page view as expected, but when I move the html (exactly, without any changes) to my own server, the hits are not registered. I'm trying to understand why - is it possible that the tracking mechanism can determine the IP address of the requesting page?
Thanks for any advice.
If there's an external js file involved in the tracking, you'll need to add that too.
Am created one apps for ipad.. its already have view part.. In that am integrated google drive for list files. After listing when the user clicks to view files its going to download and then viewed by user.
Upto complete download user cant open the book. If that file content too large it takes too much time. Is it there any other way when user click file to open instantly.. or it shows 2 or 3 pages first after that remaining pages loads in background.
You have 2 choices. For instance you could download the content pieces by pieces using the Range HTTP header. The other possibility is to stream the response object (in Java I would do that by reading bytes in the InputStream of the response as they come). Too bad my lack of Objective-C skills don't allow me to help you further.
I am looking for a web service that will allow me to upload a PDF and can track the number of times it is downloaded regardless of the source. I am aware of Google Analytics event tracking on my site but the issue here is that I need to give the file path to a number of partner sites and would like a centralized place to view total downloads among all partners. A breakdown of downloads by source would be awesome but not necessary. I can't rely on getting numbers from all of the partners as some may not even have GA set up at all.
Does something like this exist? Free is nice but would be willing to pay for an account if necessary.
Thanks.
Ended up using bit.ly to to shorten the path to the PDF hosted on my server. Gave the shortened url to the partners. Bit.ly provides good click stats by simply adding a "+" to end of the shortened url so we could see results.
Have you tried Ge.tt ?
I believe it shows number of times your files has been downloaded.
I have recently placed an ad in a weekly publication that sends out a PDF file. My ad is directly linked so that the reader can click on it and go to my website. The PDF file is hosted on a different server, but is, in fact, a PDF file that has to be downloaded and viewed on that site, not emailed or shared that way. I have Google Analytics and a couple other stats tracking programs installed and I can't see the referring URL from this other site at all, in anything. Is there something I can ask the designer of the PDF file to include in her links to make them trackable? Or is this simply not possible?
Use Google Analytics Campaign Tagging.
This tool will help set it up. You'll want to classify the variables such that the source and the medium are set, at minimum.
http://www.google.com/support/analytics/bin/answer.py?hl=en&answer=55578
So, for example, if your URL is http://example.com, you could set the parameters as such:
utm_source: BlahNews
utm_medium: newsletter
utm_campaign: july10issue
Your resulting URL would be http://example.com/?utm_source=BlahNews&utm_medium=newsletter&utm_campaign=july10issue
Google Analytics would track these hits under that Campaign, Source and medium.
If the URL is displayed raw, and want to avoid 'displaying' an ugly URL, you could setup an internal redirect to that URL, and it looks like you're using WordPress, there are a few free plugins that manage redirects like this (I happen to like 'Redirection')
So, you could tell the plugin to redirect
http://example.com/blahnews TO http://example.com/?utm_source=BlahNews&utm_medium=newsletter&utm_campaign=july10issue
Can you ask them to put some token in the query string of the URL to the site?